diff --git a/src/Jackett.Common/Indexers/MejorTorrent.cs b/src/Jackett.Common/Indexers/MejorTorrent.cs index 95b14d516..263b97cca 100644 --- a/src/Jackett.Common/Indexers/MejorTorrent.cs +++ b/src/Jackett.Common/Indexers/MejorTorrent.cs @@ -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