fix(api): keep the season an anime entry is about #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/anime-season"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
AniList has one entry per anime season, but the anime filter only dropped single episodes: searching the releases of a season-1 entry (no season marker in its names) also returned season-2 packs (
… S2 (01-10) [Batch],… (Season 02),… 2nd Season).Fix
seasonquery parameter if given, else the one its names say (original title, then title, then aliases:2nd Season,Season 2,S2via the release-name parser,第2期, a trailing uppercaseII/III/IV), else 1.Part 2is not treated as a season (often the second cour of the same season).S2/Season 02/2nd Seasonpacks but keeps unmarked batches(01-28),S01andS01-S02; a season-2 entry keepsS2,2nd Season,S01-S02and unmarked batches. Dropped releases count infiltered.filter.rs(fictional titles), a season-2 batch added to the fake indexer's anime releases and the API test extended.docs/INDEXERS.mdfilters section and the README releases paragraph.🤖 Generated with Claude Code
19880debc0600f933be9