mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-10-30 20:24:47 +08:00
- Disable (not delete) orphaned per-sub RSS feeds on bangumi deletion: a hard delete could not distinguish search-created subscriptions from user-added non-aggregate feeds, and RSSDatabase.delete's cascade also wiped torrent dedupe records that other bangumi may rely on. Disabled feeds keep their history and can be re-enabled; batch-disabled in one commit via disable_batch. - Never remap known parser types (mikan/tmdb/parser) through the search-provider config in /rss/subscribe; only genuine site names (nyaa/dmhy) are mapped. Prevents parser='mikan' from being rewritten when the user customized the mikan provider's parser. - RSSDatabase.search_url tolerates duplicate-URL rows (first() instead of scalar_one_or_none) - url has no DB unique constraint. - _retry_after_delay rejects NaN Retry-After values, which would propagate through min/max into asyncio.sleep(nan) and never wake. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JhTduCYBGeHETU7dSWoh37