mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Demonoid: handle new ad type
This commit is contained in:
@@ -157,9 +157,12 @@ namespace Jackett.Indexers
|
||||
{
|
||||
// ex: "Monday, Jun 01, 2015", "Monday, Aug 03, 2015"
|
||||
var dateStr = rowA.Cq().Text().Trim().Replace("Added on ", "");
|
||||
if (string.IsNullOrWhiteSpace(dateStr) || dateStr == "Sponsored links" || dateStr.StartsWith("!function")) // ignore ads
|
||||
if (string.IsNullOrWhiteSpace(dateStr) ||
|
||||
dateStr == "Sponsored links" ||
|
||||
dateStr.StartsWith("!function") ||
|
||||
dateStr.StartsWith("atOptions"))
|
||||
{
|
||||
continue;
|
||||
continue; // ignore ads
|
||||
}
|
||||
if (dateStr.ToLowerInvariant().Contains("today"))
|
||||
lastDateTime = DateTime.Now;
|
||||
|
Reference in New Issue
Block a user