Skip to content

Support single sub page - #17

Merged
LavX merged 2 commits into
LavX:mainfrom
Zmegolaz:single_sub_page
May 4, 2026
Merged

LavX merged 2 commits into
LavX:mainfrom
Zmegolaz:single_sub_page

Conversation

@Zmegolaz

Copy link
Copy Markdown
Contributor

If there is only one subtitle available for an episode we're redirected to that sub's page, instead of getting a list of available subtitles. This change detects and parses that single sub page to be able to download it.

@LavX LavX left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and tested locally. Single-subtitle redirect handled correctly. Smoke test confirms: detector rejects listing pages, parses single page, Bazarr workaround correctly strips quoted series prefix from h2 ("Series" Episode -> Episode), download_url, uploader, and language extraction match sibling parsers. 483 unit tests pass.

@LavX
LavX merged commit 282788c into LavX:main May 4, 2026
2 checks passed
@Zmegolaz
Zmegolaz deleted the single_sub_page branch May 4, 2026 09:51
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.

2 participants