mirror of
https://github.com/Jackett/Jackett
synced 2025-03-09 13:52:03 +00:00
mejortorrent: strip SxxExx from title for query. resolves #12559
This commit is contained in:
parent
d1f078b36b
commit
e45e8a9e4f
1 changed files with 3 additions and 1 deletions
|
@ -421,10 +421,12 @@ namespace Jackett.Common.Indexers
|
|||
// Eg. Doctor.Who.2005.(Доктор.Кто).S02E08
|
||||
|
||||
// the season/episode part is already parsed by Jackett
|
||||
// query.GetQueryString = Doctor.Who.2005.(Доктор.Кто).
|
||||
// query.GetQueryString = Doctor.Who.2005.(Доктор.Кто).S02E08
|
||||
// query.Season = 2
|
||||
// query.Episode = 8
|
||||
var searchTerm = query.GetQueryString();
|
||||
// remove the season/episode from the query as MejorTorrent only wants the series name
|
||||
searchTerm = Regex.Replace(searchTerm, @"[S|s]\d+[E|e]\d+", "");
|
||||
|
||||
// Server returns a 500 error if a UTF character higher than \u00FF (ÿ) is included,
|
||||
// so we need to strip them
|
||||
|
|
Loading…
Add table
Reference in a new issue