fix: 稳定 DeepSentimentCrawling 的 PostgreSQL 集成链路#624
Open
starCarlos wants to merge 1 commit into666ghj:mainfrom
Open
fix: 稳定 DeepSentimentCrawling 的 PostgreSQL 集成链路#624starCarlos wants to merge 1 commit into666ghj:mainfrom
starCarlos wants to merge 1 commit into666ghj:mainfrom
Conversation
0250461 to
0ae44ce
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix: 稳定 DeepSentimentCrawling 的 PostgreSQL 集成链路
描述
变更概述
这个 PR 修复并增强了 DeepSentimentCrawling 与 MediaCrawler 在 PostgreSQL 场景下的集成稳定性。
问题背景
1. platform_crawler.py 生成配置时会截断内容
create_base_config() 在处理 CRAWLER_TYPE 的多行写法时,会错误地截断后续配置,导致后面的配置项丢失,例如:
2. PostgreSQL 保存选项命名不一致
集成层之前使用的是 postgresql,但 MediaCrawler 实际兼容的是 postgres,导致保存参数对不上。
3. 某些版本的 MediaCrawler 缺少必要配置项
集成层没有保证以下字段一定存在:
本次修改内容
修改文件
验证情况
本地集成验证结果如下:
说明
这个 PR 不包含本地日志、测试数据目录和临时实验文件。