Skip to content

ci: Codecov上传添加token认证#875

Merged
jhao104 merged 6 commits into
masterfrom
develop
May 31, 2026
Merged

ci: Codecov上传添加token认证#875
jhao104 merged 6 commits into
masterfrom
develop

Conversation

@jhao104
Copy link
Copy Markdown
Owner

@jhao104 jhao104 commented May 29, 2026

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

jhao104 added 5 commits May 31, 2026 18:06
将 proxyFetcher.py(400+行,15个代理源)拆分为独立模块:

- 新增 fetcher/baseFetcher.py 基类,提供共享解析方法和 name/url/enabled 约定
- 15个代理源迁移到 fetcher/sources/ 独立文件,每个可独立运行调试
- helper/fetch.py 改为 importlib 动态加载,支持运行时热更新
- setting.py 的 PROXY_FETCHER 列表改为自动扫描 + PROXY_FETCHER_EXCLUDE 黑名单
- proxyPool.py 新增 show 命令查看启用的代理源
- 每次调度打印 active fetchers 列表
- 删除 proxyFetcher.py
- 新增 54 个单元测试,全部 161 个测试通过
- 重写扩展代理源文档,改为 BaseFetcher 基类 + 独立文件模式
- 更新项目结构文档,fetcher 目录从单文件改为 sources/ 插件目录
- 更新配置文档,PROXY_FETCHER 改为自动扫描 + PROXY_FETCHER_EXCLUDE 黑名单
- 更新变更日志,记录重构内容
- 更新 CLAUDE.md,同步架构、配置、命名规范、测试结构
- 删除 BaseFetcher.parseProxiesFromJson 和 parseProxiesFromTree,各fetcher内联自己的解析逻辑
- 合并 _load_fetcher_class 到 _discover_fetchers,避免重复扫描目录和加载模块
- rename show 命令为 fetcher
- 固定 fakeredis<2.26 兼容 Python 3.8
- 采集器异常日志统一使用 LogHandler 替换 print (binglx/docip/geonode/scdn)
- 修复 zdaye 跨天帖子时间判断 bug: seconds → total_seconds
- helper/fetch.py 模块加载增加 mtime 缓存,避免每次调度重复 reload
- 补充 zdaye 跨天场景单元测试
@jhao104 jhao104 merged commit ee47143 into master May 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant