mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
* newstudio - new ru semi-private tracker rutracker - add series parser rutor - global search without category + series parser * newstudio rus semi-private tracker * 999 -> 99 * remove old definition * - add newstudio tracker to the README - newstudio def: remove reduntal inputs - rutor def: revert setting usage into query * nnm-club: new russian semi-private tracker newstudo: fix quality naming * readme * fix quality naming * seasons parsing fix * fix * follow redirect on torrent file download * nnm-club + rutracker name parsing improvements * rutracker: add strip russian letters option * lostfilm: new series regex * lostfilm: add tracker name into title
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Jackett.Indexers
|
||||
{
|
||||
class LostFilm : BaseWebIndexer
|
||||
{
|
||||
private static Regex parsePlayEpisodeRegex = new Regex("PlayEpisode\\('(?<id>\\d+)','(?<season>\\d+)','(?<episode>\\d+)'\\)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
private static Regex parsePlayEpisodeRegex = new Regex("PlayEpisode\\('(?<id>\\d{1,3})(?<season>\\d{3})(?<episode>\\d{3})'\\)", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
private static Regex parseReleaseDetailsRegex = new Regex("Видео:\\ (?<quality>.+).\\ Размер:\\ (?<size>.+).\\ Перевод", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
// http://www.lostfilm.tv/login
|
||||
@@ -54,9 +54,9 @@ namespace Jackett.Indexers
|
||||
var trigger = button.GetAttribute("onclick");
|
||||
var match = parsePlayEpisodeRegex.Match(trigger);
|
||||
|
||||
seriesId = match.Groups["id"].Value;
|
||||
season = match.Groups["season"].Value;
|
||||
episode = match.Groups["episode"].Value;
|
||||
seriesId = match.Groups["id"].Value.TrimStart('0');
|
||||
season = match.Groups["season"].Value.TrimStart('0');
|
||||
episode = match.Groups["episode"].Value.TrimStart('0');
|
||||
}
|
||||
|
||||
internal string GetEpisodeString()
|
||||
@@ -612,7 +612,7 @@ namespace Jackett.Indexers
|
||||
quality = Regex.Replace(quality, "720 ", "720p ", RegexOptions.IgnoreCase);
|
||||
|
||||
var techComponents = new string[] {
|
||||
"rus", quality
|
||||
"rus", quality, "(LostFilm)"
|
||||
};
|
||||
var techInfo = string.Join(" ", techComponents.Where(s => !string.IsNullOrEmpty(s)));
|
||||
|
||||
|
Reference in New Issue
Block a user