mirror of https://github.com/Jackett/Jackett
wolfmax4k: fix multi-episode parsing when slug doesn't end in / (#15575)
This commit is contained in:
parent
79aa127c45
commit
df9c493c68
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue