hyuan280
|
f89d6342d1
|
fix: 修复Cookie解码二进制数据导致请求发送时UnicodeEncodeError
|
2026-01-21 16:36:28 +08:00 |
|
PKC278
|
95f2ac3811
|
feat(search): 添加AI推荐功能并优化相关逻辑
|
2026-01-15 02:49:29 +08:00 |
|
winter0245
|
5fe5deb9df
|
Merge branch 'jxxghp:v2' into v2
|
2026-01-13 09:30:16 +08:00 |
|
xjy
|
ce83bc24bd
|
fix: 修复站点Cookie处理的两个关键问题
本次提交修复了PT站点搜索功能失败的两个根本原因:
1. **Cookie URL解码问题**
- 问题:数据库中存储的Cookie值包含URL编码(如%3D、%2B、%2F),
但cookie_parse()函数未进行解码
- 影响:所有使用URL编码Cookie的站点可能无法正常登录
- 修复:在app/utils/http.py的cookie_parse()中添加unquote()解码
2. **httpx Cookie jar覆盖问题**(关键)
- 问题:httpx.AsyncClient的Cookie jar机制会自动保存服务器返回的
Set-Cookie,并在后续请求中覆盖我们传入的Cookie
- 表现:传入正确的c_secure_uid/c_secure_pass,实际发送的却是
PHPSESSID等错误Cookie
- 修复:在创建AsyncClient时传入Cookie,而不是在request()时传入
修改文件:
- app/utils/http.py: cookie_parse()添加URL解码 + AsyncClient传入cookies
- app/modules/indexer/spider/__init__.py: 清理调试代码
测试验证:
- ✅ pterclub 搜索功能恢复正常
- ✅ 春天站点搜索功能正常(验证通用性)
|
2026-01-13 09:29:05 +08:00 |
|
景大侠
|
4af5dad9a8
|
修复 原盘自动刮削缺少nfo
|
2026-01-12 21:36:17 +08:00 |
|
Attente
|
ca5ec8af0f
|
feat(config): 优化配置变更事件处理机制
|
2025-11-27 23:17:34 +08:00 |
|
DDSRem
|
0dc0d66549
|
fix: known issue
|
2025-11-19 19:46:46 +08:00 |
|
DDSRem
|
f589fcc2d0
|
feat(u115): improve stability of the u115 module
1. 优化API请求错误时到处理逻辑
2. 提升hash计算速度
3. 接口级QPS速率限制
4. 使用httpx替换request
5. 优化路径拼接稳定性
6. 代码格式化
|
2025-11-19 19:39:02 +08:00 |
|
wumode
|
9d182e53b2
|
fix: type hints
|
2025-11-05 15:41:31 +08:00 |
|
wumode
|
ff2826a448
|
feat(utils): Refactor check_method to use ast
- 使用 AST 解析函数源码,相比基于字符串的方法更稳定,能够正确处理具有多行 def 语句的函数
- 为 check_method 添加了单元测试
|
2025-11-05 14:16:37 +08:00 |
|
jxxghp
|
17a1bd352b
|
Merge pull request #5071 from wikrin/optimize-file-size
|
2025-10-23 22:54:43 +08:00 |
|
Attente
|
7421ca09cc
|
fix(transfer): 修复部分情况下无法正确统计已完成任务总大小的问题
- get_directory_size 使用 os.scandir 递归遍历提升性能
- 当任务文件项存储类型为 local 时,若其大小为空,则通过 SystemUtils 获取目录大小以确保
完成任务的准确统计。
fix(cache): 修改 fresh 和 async_fresh 默认参数为 True
refactor(filemanager): 移除整理后总大小计算逻辑
- 删除 TransHandler 中对整理目录总大小的冗余计算,提升性能并简化流程。
perf(system): 使用 scandir 优化文件扫描性能
- 重构 SystemUtils 中的文件扫描方法(list_files、exists_file、list_sub_files),
- 采用 os.scandir 替代 glob 实现,并预编译正则表达式以提升目录遍历与文件匹配性能。
|
2025-10-23 19:21:24 +08:00 |
|
wumode
|
3873786b99
|
fix: retry
|
2025-10-23 00:58:34 +08:00 |
|
Aqr-K
|
0ea9770bc3
|
Create debounce.py
|
2025-09-22 02:38:15 +08:00 |
|
jxxghp
|
481f1f9d30
|
add full gc scheduler
|
2025-09-08 10:49:09 +08:00 |
|
jxxghp
|
89b0ea0bf1
|
remove monitoring
|
2025-09-04 11:23:22 +08:00 |
|
Aqr-K
|
f22bc68af4
|
Update string.py
|
2025-08-30 08:59:35 +08:00 |
|
Aqr-K
|
d21f1f1b87
|
feat(string): add natural_sort_key function
|
2025-08-30 08:44:41 +08:00 |
|
jxxghp
|
1b7bdbf516
|
fix #4834
|
2025-08-27 08:28:16 +08:00 |
|
jxxghp
|
91a124ab8f
|
fix 异步定时服务
|
2025-08-25 20:44:38 +08:00 |
|
jxxghp
|
343109836f
|
fix cache
|
2025-08-23 14:06:44 +08:00 |
|
jxxghp
|
724c15a68c
|
add 插件内存统计API
|
2025-08-22 09:46:11 +08:00 |
|
jxxghp
|
1ab2da74b9
|
use apipathlib
|
2025-08-17 09:00:02 +08:00 |
|
jxxghp
|
90f74d8d2b
|
feat:支持FlareSolverr
|
2025-08-11 21:14:46 +08:00 |
|
jxxghp
|
1dd3af44b5
|
add FastApi实时性能监控
|
2025-08-01 17:47:55 +08:00 |
|
jxxghp
|
45bcc63c06
|
fix rate_limit async
|
2025-08-01 11:48:37 +08:00 |
|
jxxghp
|
6873de7243
|
fix async
|
2025-07-31 13:32:47 +08:00 |
|
jxxghp
|
71f7bc7b1b
|
fix
|
2025-07-30 21:06:55 +08:00 |
|
jxxghp
|
c8749b3c9c
|
add aiopath
|
2025-07-30 19:49:59 +08:00 |
|
jxxghp
|
5f6310f5d6
|
fix httpx proxy
|
2025-07-30 17:34:09 +08:00 |
|
jxxghp
|
42d955b175
|
重构订阅和用户相关API,支持异步操作
|
2025-07-30 15:23:25 +08:00 |
|
jxxghp
|
f077a9684b
|
添加异步请求工具类;优化fetch_image和proxy_img函数为异步实现提升性能
|
2025-07-30 08:30:24 +08:00 |
|
Aqr-K
|
1973a26e83
|
fix: 去除冗余代码,简化写法
|
2025-07-14 22:19:48 +08:00 |
|
Aqr-K
|
6519ad25ca
|
fix is_aarch
|
2025-07-14 22:17:04 +08:00 |
|
Aqr-K
|
df85873726
|
feat(ua): add cup_arch , USER_AGENT value add cup_arch
|
2025-07-14 22:04:09 +08:00 |
|
jxxghp
|
7a1cbf70e3
|
feat:特定默认UA
|
2025-07-14 12:35:08 +08:00 |
|
jxxghp
|
378777dc7c
|
feat:弱引用单例
|
2025-07-08 21:29:01 +08:00 |
|
jxxghp
|
d336bcbf1f
|
fix etree
|
2025-07-08 11:00:38 +08:00 |
|
jxxghp
|
8d0bb35505
|
add 网络流量API
|
2025-07-03 19:05:43 +08:00 |
|
景大侠
|
6c02766000
|
AutoCloseResponse支持上下文管理协议,避免部分插件报错
|
2025-07-03 18:38:48 +08:00 |
|
景大侠
|
8146b680c6
|
fix: 修复AutoCloseResponse类在反序列化时无限递归
|
2025-07-01 01:29:01 +08:00 |
|
Attente
|
0f0c3e660b
|
style: 清理空白字符
移除代码中的 trailing whitespace 和空行缩进, 提升代码整洁度
|
2025-06-29 22:49:58 +08:00 |
|
jxxghp
|
23c9862eb3
|
fix site parser
|
2025-06-27 12:26:17 +08:00 |
|
jxxghp
|
d8a53da8ee
|
auto close RequestUtils
|
2025-06-27 08:30:57 +08:00 |
|
jxxghp
|
9555ac6305
|
fix RequestUtils
|
2025-06-27 08:09:38 +08:00 |
|
jxxghp
|
27dd681d9f
|
fix RequestUtils
|
2025-06-26 17:36:22 +08:00 |
|
jxxghp
|
2829a3cb4e
|
fix
|
2025-06-26 08:18:37 +08:00 |
|
jxxghp
|
62e74f6fd1
|
fix
|
2025-06-24 08:19:10 +08:00 |
|
jxxghp
|
162ba9307d
|
fix restart
|
2025-06-10 07:09:59 +08:00 |
|
jxxghp
|
49dae92b8e
|
fix flag path
|
2025-06-09 21:58:02 +08:00 |
|