wolfmax4k: fix multi-episode parsing when slug doesn't end in / (#15575)

This commit is contained in:
Alfredo Arellano de la Fuente 2024-09-03 15:57:46 +02:00 committed by GitHub
parent 79aa127c45
commit df9c493c68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ namespace Jackett.Common.Indexers.Definitions
result += "S" + matchSeason.Groups[1].Value.PadLeft(2, '0'); result += "S" + matchSeason.Groups[1].Value.PadLeft(2, '0');
} }
var matchEpisode = new Regex(@"/capitulo-(\d+)(-al-(\d+))?/").Match(guid); var matchEpisode = new Regex(@"/capitulo-(\d+)(-al-(\d+))?").Match(guid);
if (matchSeason.Success && matchEpisode.Success) if (matchSeason.Success && matchEpisode.Success)
{ {
result += "E" + matchEpisode.Groups[1].Value.PadLeft(2, '0'); result += "E" + matchEpisode.Groups[1].Value.PadLeft(2, '0');