Repository navigation
Conversation
…ok-alikes Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
a1d4r
force-pushed
the
fix/cyrillic-latin-lookalikes
branch
from
November 17, 2026 16:01
e7a730d to
eef6305
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uploaders mix look-alike letters: "Cезон" with a Latin C, "720р" with a
Cyrillic р. No handler sees the season, and "720р" becomes episode 720.
Королевство / Kingdeom [1 cезон] (2019) WEBRip 1080p | IdeaFilmКак я встретил вашу маму / How I Met Your Mother [Cезон 1-7, Серия 1-160 из 160] (2005-2011) DVDRipХодячие мертвецы / The Walking Dead [7 сезон] (2016) HDTVRip 720р | Sunshine StudioБруклин 9-9 / Brooklyn Nine-Nine [4 сезон] (2016-2017) WEB-DL 1080р | NewStudioFix: parse() normalises only these two cases before the handlers run: "C"/"c"
directly before "езон", and "р" right after 480/576/720/1080/2160 when no
Cyrillic letter follows ("500р", a price, is left alone). The check is a single
regex test on the title.
Tests: src/tests/cyrillicLatinLookalikes.test.ts. 3 of 3,574 labelled
releases fixed, no regressions. 82 of 37k titles change, all Cyrillic:
Mother").