Commit Graph

16 Commits

Author SHA1 Message Date
1d150111ad feat: Charts 与 LoadFeed 支持 context 透传取消
- 新增 ChartsContext / LoadFeedContext(原方法转发 context.Background(),兼容不变)
- Charts 榜单请求与逐项 lookup 全部改 NewRequestWithContext,循环顶检查
  ctx.Err() 提前中止剩余 lookup
- 修复 resp 在 err 检查前解引用(网络错误/ctx 取消时必 panic)
- 修复 lookup 循环 User-Agent 误设在外层请求上

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 02:02:12 +08:00
6ffa8a248b refactor: 模块路径迁移到 gitea.malai.tech
仓库已迁到 gitea.malai.tech,同步更新 go.mod module 声明与全部内部 import,
使其可作为正式 Go 模块被 go get 解析(此前声明路径 gitea.malaihome.work 已不可达)。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 15:27:48 +08:00
ec79b8b969 set UserAgent for LoadFeed 2025-04-27 17:32:25 +08:00
e8316b1d1c add proxy option 2025-04-27 12:16:29 +08:00
4cc6941d95 feat(model): enhance LoadFeed with timeout support and add tests 2025-04-11 17:05:55 +08:00
5fd117b1d1 update LoadFeed 2025-04-09 15:26:25 +08:00
5f0148dab2 fix typo 2025-04-08 22:00:39 +08:00
ae4bdc4984 add counter 2025-03-30 01:07:21 +08:00
0d19c56646 fix no result log issue 2025-03-30 00:32:11 +08:00
0e04abf4b8 feat(search): add logging, rate limiting, and genre ID support
Enhance the ITunesProvider by adding logging with detailed caller information, implementing rate limiting to prevent API abuse, and supporting genre IDs for more precise searches. Also, update the User-Agent string and improve error handling and logging throughout the search and charts functionality.
2025-03-30 00:14:24 +08:00
bd270a09d0 add GetGenreByLanguage 2025-03-29 21:44:06 +08:00
911086ada0 add Genre 2025-03-29 21:39:00 +08:00
06f1d31abe add Summary field for ApplePodcast 2025-03-29 16:20:28 +08:00
cd03851e2b update module name 2025-03-29 00:03:29 +08:00
70b8e330cc get all fields from apple podcast 2025-03-28 23:52:46 +08:00
fdde34e1f0 generated by Claude-3.7-Sonnet 2025-03-28 22:27:08 +08:00