2020-02-09 02:35:16 +00:00
|
|
|
using System;
|
2017-04-15 08:45:10 +00:00
|
|
|
using System.Collections.Generic;
|
2020-05-03 23:35:52 +00:00
|
|
|
using System.Diagnostics.CodeAnalysis;
|
2017-04-15 08:45:10 +00:00
|
|
|
using System.Globalization;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Text;
|
|
|
|
using System.Text.RegularExpressions;
|
|
|
|
using System.Threading.Tasks;
|
2019-01-20 00:09:27 +00:00
|
|
|
using AngleSharp.Html.Parser;
|
2018-03-10 08:05:56 +00:00
|
|
|
using Jackett.Common.Models;
|
2020-02-09 18:08:34 +00:00
|
|
|
using Jackett.Common.Models.IndexerConfig.Bespoke;
|
2018-03-10 08:05:56 +00:00
|
|
|
using Jackett.Common.Services.Interfaces;
|
|
|
|
using Jackett.Common.Utils;
|
|
|
|
using Jackett.Common.Utils.Clients;
|
2017-10-29 06:21:18 +00:00
|
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
using NLog;
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2018-03-10 08:05:56 +00:00
|
|
|
namespace Jackett.Common.Indexers
|
2017-04-15 08:45:10 +00:00
|
|
|
{
|
2020-05-03 23:35:52 +00:00
|
|
|
[ExcludeFromCodeCoverage]
|
2017-10-29 06:21:18 +00:00
|
|
|
internal class EliteTracker : BaseWebIndexer
|
2017-04-15 08:45:10 +00:00
|
|
|
{
|
2020-02-25 16:08:03 +00:00
|
|
|
private string LoginUrl => SiteLink + "takelogin.php";
|
|
|
|
private string BrowseUrl => SiteLink + "browse.php";
|
2020-03-14 23:18:42 +00:00
|
|
|
private new ConfigurationDataEliteTracker configData => (ConfigurationDataEliteTracker)base.configData;
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2017-11-05 09:42:03 +00:00
|
|
|
public EliteTracker(IIndexerConfigurationService configService, WebClient webClient, Logger logger, IProtectionService protectionService)
|
2020-05-11 19:59:28 +00:00
|
|
|
: base(id: "elitetracker",
|
|
|
|
name: "Elite-Tracker",
|
|
|
|
description: "French Torrent Tracker",
|
|
|
|
link: "https://elite-tracker.net/",
|
|
|
|
caps: new TorznabCapabilities
|
|
|
|
{
|
|
|
|
SupportsImdbMovieSearch = true
|
|
|
|
// SupportsImdbTVSearch = true (supported by the site but disabled due to #8107)
|
|
|
|
},
|
|
|
|
configService: configService,
|
|
|
|
logger: logger,
|
|
|
|
p: protectionService,
|
|
|
|
client: webClient,
|
|
|
|
configData: new ConfigurationDataEliteTracker()
|
2017-01-04 11:35:49 +00:00
|
|
|
)
|
2017-04-15 08:45:10 +00:00
|
|
|
{
|
2018-06-11 04:42:21 +00:00
|
|
|
Encoding = Encoding.UTF8;
|
2017-04-15 08:45:10 +00:00
|
|
|
Language = "fr-fr";
|
|
|
|
Type = "private";
|
|
|
|
|
|
|
|
AddCategoryMapping(27, TorznabCatType.TVAnime, "Animation/Animes");
|
2020-03-14 23:18:42 +00:00
|
|
|
AddCategoryMapping(90, TorznabCatType.TVAnime, "Animes - 3D");
|
|
|
|
AddCategoryMapping(99, TorznabCatType.TVAnime, "Animes - 4K");
|
|
|
|
AddCategoryMapping(63, TorznabCatType.TVAnime, "Animes - DVD");
|
|
|
|
AddCategoryMapping(56, TorznabCatType.TVAnime, "Animes - HD");
|
|
|
|
AddCategoryMapping(89, TorznabCatType.TVAnime, "Animes - HDRip");
|
|
|
|
AddCategoryMapping(87, TorznabCatType.TVAnime, "Animes - Pack");
|
|
|
|
AddCategoryMapping(88, TorznabCatType.TVAnime, "Animes - SD");
|
|
|
|
AddCategoryMapping(59, TorznabCatType.TVAnime, "Animes - Serie");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
AddCategoryMapping(3, TorznabCatType.PC0day, "APPLICATION");
|
2020-03-14 23:18:42 +00:00
|
|
|
AddCategoryMapping(74, TorznabCatType.PCPhoneAndroid, "APPLICATION - ANDROID");
|
|
|
|
AddCategoryMapping(57, TorznabCatType.PCPhoneIOS, "APPLICATION - IPHONE");
|
|
|
|
AddCategoryMapping(6, TorznabCatType.PC0day, "APPLICATION - LINUX");
|
|
|
|
AddCategoryMapping(5, TorznabCatType.PCMac, "APPLICATION - MAC");
|
|
|
|
AddCategoryMapping(4, TorznabCatType.PC0day, "APPLICATION - WINDOWS");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
AddCategoryMapping(38, TorznabCatType.TVDocumentary, "DOCUMENTAIRES");
|
2020-03-14 23:18:42 +00:00
|
|
|
AddCategoryMapping(97, TorznabCatType.TVDocumentary, "DOCUMENTAIRES - PACK");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
AddCategoryMapping(34, TorznabCatType.Books, "EBOOKS");
|
2020-03-14 23:18:42 +00:00
|
|
|
AddCategoryMapping(86, TorznabCatType.Books, "EBOOKS - ABOOKS");
|
|
|
|
|
|
|
|
AddCategoryMapping(48, TorznabCatType.MoviesHD, "FiLMS HD");
|
|
|
|
AddCategoryMapping(51, TorznabCatType.MoviesHD, "FiLMS HD - 1080p");
|
|
|
|
AddCategoryMapping(98, TorznabCatType.MoviesUHD, "FiLMS HD - 2160p");
|
|
|
|
AddCategoryMapping(70, TorznabCatType.Movies3D, "FiLMS HD - 3D");
|
|
|
|
AddCategoryMapping(84, TorznabCatType.MoviesUHD, "FiLMS HD - 4K");
|
|
|
|
AddCategoryMapping(50, TorznabCatType.MoviesHD, "FiLMS HD - 720P");
|
|
|
|
AddCategoryMapping(49, TorznabCatType.MoviesBluRay, "FiLMS HD - BluRay");
|
|
|
|
AddCategoryMapping(78, TorznabCatType.MoviesHD, "FiLMS HD - HDRip");
|
|
|
|
AddCategoryMapping(95, TorznabCatType.Movies, "FiLMS HD - VOSTFR");
|
|
|
|
AddCategoryMapping(85, TorznabCatType.MoviesHD, "FiLMS HD - x265");
|
|
|
|
|
|
|
|
AddCategoryMapping(7, TorznabCatType.Movies, "FiLMS SD");
|
|
|
|
AddCategoryMapping(91, TorznabCatType.Movies3D, "FiLMS SD - 3D");
|
|
|
|
AddCategoryMapping(11, TorznabCatType.MoviesDVD, "FiLMS SD - DVD");
|
|
|
|
AddCategoryMapping(53, TorznabCatType.MoviesSD, "FiLMS SD - DVD-SCREENER");
|
|
|
|
AddCategoryMapping(9, TorznabCatType.MoviesDVD, "FiLMS SD - R5");
|
|
|
|
AddCategoryMapping(8, TorznabCatType.MoviesSD, "FiLMS SD - SCREENER");
|
|
|
|
AddCategoryMapping(10, TorznabCatType.MoviesSD, "FiLMS SD - SDRip");
|
|
|
|
AddCategoryMapping(40, TorznabCatType.Movies, "FiLMS SD - VO");
|
|
|
|
AddCategoryMapping(39, TorznabCatType.Movies, "FiLMS SD - VOSTFR");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
AddCategoryMapping(15, TorznabCatType.Console, "JEUX VIDEO");
|
2020-03-14 23:18:42 +00:00
|
|
|
AddCategoryMapping(76, TorznabCatType.Console3DS, "JEUX VIDEO - 3DS");
|
|
|
|
AddCategoryMapping(18, TorznabCatType.ConsoleNDS, "JEUX VIDEO - DS");
|
|
|
|
AddCategoryMapping(55, TorznabCatType.PCPhoneIOS, "JEUX VIDEO - IPHONE");
|
|
|
|
AddCategoryMapping(80, TorznabCatType.PCGames, "JEUX VIDEO - LINUX");
|
|
|
|
AddCategoryMapping(96, TorznabCatType.ConsoleOther, "JEUX VIDEO - NSW");
|
|
|
|
AddCategoryMapping(79, TorznabCatType.PCMac, "JEUX VIDEO - OSX");
|
|
|
|
AddCategoryMapping(22, TorznabCatType.PCGames, "JEUX VIDEO - PC");
|
|
|
|
AddCategoryMapping(66, TorznabCatType.ConsolePS3, "JEUX VIDEO - PS2");
|
|
|
|
AddCategoryMapping(58, TorznabCatType.ConsolePS3, "JEUX VIDEO - PS3");
|
|
|
|
AddCategoryMapping(81, TorznabCatType.ConsolePS4, "JEUX VIDEO - PS4");
|
|
|
|
AddCategoryMapping(20, TorznabCatType.ConsolePSP, "JEUX VIDEO - PSP");
|
|
|
|
AddCategoryMapping(75, TorznabCatType.ConsolePS3, "JEUX VIDEO - PSX");
|
|
|
|
AddCategoryMapping(19, TorznabCatType.ConsoleWii, "JEUX VIDEO - WII");
|
|
|
|
AddCategoryMapping(83, TorznabCatType.ConsoleWiiU, "JEUX VIDEO - WiiU");
|
|
|
|
AddCategoryMapping(16, TorznabCatType.ConsoleXbox, "JEUX VIDEO - XBOX");
|
|
|
|
AddCategoryMapping(82, TorznabCatType.ConsoleXboxOne, "JEUX VIDEO - XBOX ONE");
|
|
|
|
AddCategoryMapping(17, TorznabCatType.ConsoleXbox360, "JEUX VIDEO - XBOX360");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
AddCategoryMapping(23, TorznabCatType.Audio, "MUSIQUES");
|
2020-03-14 23:18:42 +00:00
|
|
|
AddCategoryMapping(26, TorznabCatType.Audio, "MUSIQUES - CLIP/CONCERT");
|
|
|
|
AddCategoryMapping(61, TorznabCatType.AudioLossless, "MUSIQUES - FLAC");
|
|
|
|
AddCategoryMapping(60, TorznabCatType.AudioMP3, "MUSIQUES - MP3");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
AddCategoryMapping(30, TorznabCatType.TV, "SERIES");
|
2020-03-14 23:18:42 +00:00
|
|
|
AddCategoryMapping(77, TorznabCatType.TVSD, "SERIES - DVD");
|
|
|
|
AddCategoryMapping(100, TorznabCatType.TVUHD, "SERIES - 4k");
|
|
|
|
AddCategoryMapping(67, TorznabCatType.TVHD, "SERIES - FR HD");
|
|
|
|
AddCategoryMapping(31, TorznabCatType.TVSD, "SERIES - FR SD");
|
|
|
|
AddCategoryMapping(102, TorznabCatType.TVUHD, "SERIES - Pack 4k");
|
|
|
|
AddCategoryMapping(92, TorznabCatType.TVHD, "SERIES - Pack FR HD");
|
|
|
|
AddCategoryMapping(73, TorznabCatType.TVSD, "SERIES - Pack FR SD");
|
|
|
|
AddCategoryMapping(94, TorznabCatType.TVHD, "SERIES - Pack VOSTFR HD");
|
|
|
|
AddCategoryMapping(93, TorznabCatType.TVSD, "SERIES - Pack VOSTFR SD");
|
|
|
|
AddCategoryMapping(68, TorznabCatType.TVHD, "SERIES - VO HD");
|
|
|
|
AddCategoryMapping(32, TorznabCatType.TVSD, "SERIES - VO SD");
|
|
|
|
AddCategoryMapping(101, TorznabCatType.TVUHD, "SERIES - 4k");
|
|
|
|
AddCategoryMapping(69, TorznabCatType.TVHD, "SERIES - VOSTFR HD");
|
|
|
|
AddCategoryMapping(33, TorznabCatType.TVSD, "SERIES - VOSTFR SD");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
AddCategoryMapping(47, TorznabCatType.TV, "SPECTACLES/EMISSIONS");
|
2020-03-14 23:18:42 +00:00
|
|
|
AddCategoryMapping(71, TorznabCatType.TV, "SPECTACLES/EMISSIONS - Emissions");
|
2020-04-25 19:16:47 +00:00
|
|
|
AddCategoryMapping(103, TorznabCatType.TV, "SPECTACLES/EMISSIONS - Emissions Pack");
|
2020-03-14 23:18:42 +00:00
|
|
|
AddCategoryMapping(72, TorznabCatType.TV, "SPECTACLES/EMISSIONS - Spectacles");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
AddCategoryMapping(35, TorznabCatType.TVSport, "SPORT");
|
2020-03-14 23:18:42 +00:00
|
|
|
AddCategoryMapping(36, TorznabCatType.TVSport, "SPORT - CATCH");
|
|
|
|
AddCategoryMapping(65, TorznabCatType.TVSport, "SPORT - UFC");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
AddCategoryMapping(37, TorznabCatType.XXX, "XXX");
|
|
|
|
}
|
|
|
|
|
2017-06-28 05:31:38 +00:00
|
|
|
public override async Task<IndexerConfigurationStatus> ApplyConfiguration(JToken configJson)
|
2017-04-15 08:45:10 +00:00
|
|
|
{
|
2017-01-04 11:35:49 +00:00
|
|
|
configData.LoadValuesFromJson(configJson);
|
|
|
|
|
|
|
|
var pairs = new Dictionary<string, string>
|
|
|
|
{
|
|
|
|
{ "username", configData.Username.Value },
|
|
|
|
{ "password", configData.Password.Value }
|
2017-04-15 08:45:10 +00:00
|
|
|
};
|
|
|
|
|
2020-09-21 06:02:53 +00:00
|
|
|
var result = await PostDataWithCookies(LoginUrl, pairs, "");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
|
|
|
await ConfigureIfOK(result.Cookies, result.Cookies != null, () =>
|
|
|
|
{
|
2020-09-21 06:04:26 +00:00
|
|
|
var errorMessage = result.Content;
|
2017-04-15 08:45:10 +00:00
|
|
|
throw new ExceptionWithConfigData(errorMessage, configData);
|
|
|
|
});
|
|
|
|
|
|
|
|
return IndexerConfigurationStatus.RequiresTesting;
|
|
|
|
}
|
|
|
|
|
2017-07-03 05:15:47 +00:00
|
|
|
protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuery query)
|
2017-04-15 08:45:10 +00:00
|
|
|
{
|
|
|
|
var releases = new List<ReleaseInfo>();
|
|
|
|
|
2020-03-14 23:18:42 +00:00
|
|
|
var pairs = new Dictionary<string, string>
|
|
|
|
{
|
|
|
|
{"do", "search"},
|
2020-03-26 22:15:28 +00:00
|
|
|
{"search_type", query.IsImdbQuery ? "t_genre" : "t_name"},
|
|
|
|
{"keywords", query.IsImdbQuery ? query.ImdbID : query.GetQueryString()},
|
2020-03-14 23:18:42 +00:00
|
|
|
{"category", "0"} // multi cat search not supported
|
|
|
|
};
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-09-21 06:02:53 +00:00
|
|
|
var results = await PostDataWithCookies(BrowseUrl, pairs);
|
2017-04-15 08:45:10 +00:00
|
|
|
if (results.IsRedirect)
|
|
|
|
{
|
|
|
|
// re-login
|
|
|
|
await ApplyConfiguration(null);
|
2020-09-21 06:02:53 +00:00
|
|
|
results = await PostDataWithCookies(BrowseUrl, pairs);
|
2017-04-15 08:45:10 +00:00
|
|
|
}
|
|
|
|
|
2017-01-04 11:35:49 +00:00
|
|
|
try
|
|
|
|
{
|
2017-04-15 08:45:10 +00:00
|
|
|
var lastDate = DateTime.Now;
|
|
|
|
|
2020-03-14 23:18:42 +00:00
|
|
|
var parser = new HtmlParser();
|
2020-09-21 06:04:26 +00:00
|
|
|
var doc = parser.ParseDocument(results.Content);
|
2020-03-14 23:18:42 +00:00
|
|
|
var rows = doc.QuerySelectorAll("table[id='sortabletable'] > tbody > tr");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-03-14 23:18:42 +00:00
|
|
|
foreach (var row in rows.Skip(1))
|
|
|
|
{
|
2020-03-15 22:26:18 +00:00
|
|
|
if (row.Children.Length != 9)
|
2020-03-14 23:18:42 +00:00
|
|
|
continue; // not a torrent line
|
|
|
|
|
|
|
|
var cat = row.Children[0].QuerySelector("a").GetAttribute("href").Split('=')[1];
|
|
|
|
var title = row.Children[1].QuerySelector("a").TextContent;
|
|
|
|
var qLinks = row.Children[2].QuerySelectorAll("a");
|
2020-03-26 22:15:28 +00:00
|
|
|
var link = new Uri(configData.TorrentHTTPSMode.Value ? qLinks[1].GetAttribute("href") : qLinks[0].GetAttribute("href"));
|
|
|
|
var comments = new Uri(row.Children[1].QuerySelector("a").GetAttribute("href"));
|
2020-03-14 23:18:42 +00:00
|
|
|
var size = row.Children[4].TextContent;
|
|
|
|
var grabs = row.Children[5].QuerySelector("a").TextContent;
|
2020-03-26 22:15:28 +00:00
|
|
|
var seeders = ParseUtil.CoerceInt(row.Children[6].QuerySelector("a").TextContent);
|
|
|
|
var leechers = ParseUtil.CoerceInt(row.Children[7].QuerySelector("a").TextContent);
|
2020-03-15 22:26:18 +00:00
|
|
|
var qTags = row.Children[1].QuerySelector("div:has(span[style=\"float: right;\"])");
|
2020-03-14 23:18:42 +00:00
|
|
|
var dlVolumeFactor = 1.0;
|
|
|
|
if (qTags.QuerySelector("img[alt^=\"TORRENT GRATUIT\"]") != null)
|
|
|
|
dlVolumeFactor = 0.0;
|
|
|
|
else if (qTags.QuerySelector("img[alt^=\"TORRENT SILVER\"]") != null)
|
|
|
|
dlVolumeFactor = 0.5;
|
|
|
|
|
|
|
|
var upVolumeFactor = qTags.QuerySelector("img[alt^=\"TORRENT X2\"]") != null ? 2.0 : 1.0;
|
|
|
|
var release = new ReleaseInfo
|
2018-06-11 04:42:21 +00:00
|
|
|
{
|
2020-03-14 23:18:42 +00:00
|
|
|
MinimumRatio = 1,
|
|
|
|
MinimumSeedTime = 0,
|
|
|
|
Category = MapTrackerCatToNewznab(cat),
|
|
|
|
Title = title,
|
2020-03-26 22:15:28 +00:00
|
|
|
Link = link,
|
|
|
|
Comments = comments,
|
2020-03-14 23:18:42 +00:00
|
|
|
Size = ReleaseInfo.GetBytes(size),
|
2020-03-26 22:15:28 +00:00
|
|
|
Seeders = seeders,
|
2020-03-14 23:18:42 +00:00
|
|
|
Grabs = ParseUtil.CoerceLong(grabs),
|
|
|
|
DownloadVolumeFactor = dlVolumeFactor,
|
2020-03-26 22:15:28 +00:00
|
|
|
UploadVolumeFactor = upVolumeFactor,
|
|
|
|
Peers = leechers + seeders,
|
|
|
|
Guid = link
|
2020-03-14 23:18:42 +00:00
|
|
|
};
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-03-14 23:18:42 +00:00
|
|
|
var qTooltip = row.Children[1].QuerySelector("div.tooltip-content");
|
|
|
|
if (qTooltip != null)
|
2017-04-15 08:45:10 +00:00
|
|
|
{
|
2020-03-14 23:18:42 +00:00
|
|
|
var banner = qTooltip.QuerySelector("img");
|
2017-04-15 08:45:10 +00:00
|
|
|
if (banner != null)
|
|
|
|
{
|
|
|
|
release.BannerUrl = new Uri(banner.GetAttribute("src"));
|
|
|
|
banner.Remove();
|
|
|
|
}
|
|
|
|
|
2020-03-14 23:18:42 +00:00
|
|
|
qTooltip.QuerySelector("div:contains(\"Total Hits\")").Remove();
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-03-14 23:18:42 +00:00
|
|
|
var qLongTitle = qTooltip.QuerySelector("div");
|
|
|
|
release.Title = qLongTitle.TextContent;
|
|
|
|
qLongTitle.Remove();
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-03-14 23:18:42 +00:00
|
|
|
var description = qTooltip.TextContent.Trim();
|
|
|
|
if (!string.IsNullOrWhiteSpace(description))
|
|
|
|
release.Description = description;
|
2017-04-15 08:45:10 +00:00
|
|
|
}
|
|
|
|
|
2020-03-14 23:18:42 +00:00
|
|
|
// issue #5064 replace multi keyword
|
|
|
|
if (!string.IsNullOrEmpty(configData.ReplaceMulti.Value))
|
2017-04-15 08:45:10 +00:00
|
|
|
{
|
2020-02-10 22:16:19 +00:00
|
|
|
var regex = new Regex("(?i)([\\.\\- ])MULTI([\\.\\- ])");
|
2020-03-14 23:18:42 +00:00
|
|
|
release.Title = regex.Replace(release.Title, "$1" + configData.ReplaceMulti.Value + "$2");
|
2017-04-15 08:45:10 +00:00
|
|
|
}
|
2020-03-14 23:18:42 +00:00
|
|
|
|
2020-01-07 08:05:03 +00:00
|
|
|
// issue #6855 Replace VOSTFR with ENGLISH
|
|
|
|
if (configData.Vostfr.Value)
|
2020-04-22 03:38:12 +00:00
|
|
|
release.Title = release.Title.Replace("VOSTFR", "ENGLISH").Replace("SUBFRENCH", "ENGLISH");
|
2017-04-15 08:45:10 +00:00
|
|
|
|
2020-03-14 23:18:42 +00:00
|
|
|
var qPretime = qTags.QuerySelector("font.mkprettytime");
|
|
|
|
if (qPretime != null)
|
2017-04-15 08:45:10 +00:00
|
|
|
{
|
|
|
|
if (release.Description == null)
|
2020-03-14 23:18:42 +00:00
|
|
|
release.Description = qPretime.TextContent;
|
2017-04-15 08:45:10 +00:00
|
|
|
else
|
2020-03-14 23:18:42 +00:00
|
|
|
release.Description += "<br>\n" + qPretime.TextContent;
|
2017-04-15 08:45:10 +00:00
|
|
|
release.PublishDate = lastDate;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2020-03-14 23:18:42 +00:00
|
|
|
release.PublishDate = DateTime.ParseExact(qTags.TextContent.Trim(), "dd-MM-yyyy HH:mm", CultureInfo.InvariantCulture);
|
2017-04-15 08:45:10 +00:00
|
|
|
lastDate = release.PublishDate;
|
|
|
|
}
|
|
|
|
|
2017-01-04 11:35:49 +00:00
|
|
|
releases.Add(release);
|
2017-04-15 08:45:10 +00:00
|
|
|
}
|
2017-01-04 11:35:49 +00:00
|
|
|
}
|
|
|
|
catch (Exception ex)
|
2017-04-15 08:45:10 +00:00
|
|
|
{
|
2020-09-21 06:04:26 +00:00
|
|
|
OnParseError(results.Content, ex);
|
2017-01-04 11:35:49 +00:00
|
|
|
}
|
|
|
|
|
2017-04-15 08:45:10 +00:00
|
|
|
return releases;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|