Skip to content

fix: parse Russian "[+N серия]" updated pack as episodes 1-N - #72

Open
a1d4r wants to merge 1 commit into
AIOStreams:mainfrom
a1d4r:fix/ru-plus-episode
Open

a1d4r wants to merge 1 commit into
AIOStreams:mainfrom
a1d4r:fix/ru-plus-episode

Conversation

@a1d4r

@a1d4r a1d4r commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Ultradox (a Russian tracker) names an updated season pack after its latest
episode: "Фоллаут (1 сезон) [+8 серия]" is the season 1 pack that now holds
episodes 1-8. The parser reads it as episode 8 alone, so the pack is rejected
for episodes 1-7.

Title Before After
Фоллаут (1 сезон) [+8 серия] [Ultradox] [1080p] S1 E8 S1 E1-8
Больница Питт (2 сезон) [+15 серия] [Ultradox] [400p] S2 E15 S2 E1-15
Лучше звоните Солу (5 сезон) [+10 серия] [Оригинал] [720p] S5 E10 S5 E1-10
Ведьмак / The Witcher / 1 сезон 8 серия [2019, 1080p] S1 E8 S1 E8 (unchanged)

Fix: a handler for "[+N серия]" (always in brackets with the plus sign) that
returns 1..N, placed before the generic "N серия" handler.

"1..N inside" is confirmed by a file list: the tracker page of "Игра
престолов (8 сезон) [+2 серия]" shows 2 files in each of its 1080p (7.5 GB),
720p (4.27 GB) and WEB-DLRip (1.49 GB) torrents. Sizes agree across the
whole tracker (median per episode 1.77 GB at 1080p, 1.11 GB at 720p, 0.62 GB
at 400p over 459 releases; "Ведьмак (1 сезон) [+8 серия]" 1080p is 27.4 GB).

Tests: src/tests/russianUpdatedPack.test.ts. Checked on 37k real Russian
tracker titles: the change only touches "[+N серия]" names (510), and 104 of
3,574 hand-labelled releases go from wrong to right. Nothing changes in the
1,143 titles of the existing test suite.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@a1d4r
a1d4r force-pushed the fix/ru-plus-episode branch from 6754fb4 to 1415bd6 Compare November 17, 2026 16:00

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant