mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-03-20 11:57:46 +08:00
- Add browser-like headers and full Chrome User-Agent to avoid Cloudflare blocking - Use appropriate Accept headers for torrent files (application/x-bittorrent) - Increase timeouts (connect: 5s→10s, read: 10s→30s) for slow responses - Filter out None values from failed torrent fetches before sending to qBittorrent - Add try-catch around add_torrents to prevent request crashes - Improve logging from DEBUG to WARNING level for better visibility Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>