Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser identifies an episode when a string ends in "ep" followed by a year #19

Open
wbio opened this issue Dec 10, 2024 · 0 comments
Open

Comments

@wbio
Copy link

wbio commented Dec 10, 2024

I was looping through torrents and came across the torrent:

The Keep 1983 1080p Blu-ray AVC DTS-HD MA 2.0-FULLBRUTALiTY

The substring ep 198 gets identified as an episode, so rather than the title being identified as The Keep, it is identified as The Ke, with an episode of 198. The full output is:

{
  year: 1983,
  resolution: '1080p',
  codec: 'avc',
  audio: 'dts-hd',
  group: 'FULLBRUTALiTY',
  episode: 198,
  title: 'The Ke'
}

Expected output would be:

{
  year: 1983,
  resolution: '1080p',
  codec: 'avc',
  audio: 'dts-hd',
  group: 'FULLBRUTALiTY',
  title: 'The Keep'
}

This is the relevant handler that's causing the issue. I'll submit a PR to update this, though would love your eyes on it as I don't want to unintentionally introduce a different problem.

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

No branches or pull requests

1 participant