mirror of https://github.com/Jackett/Jackett
Demonoid: handle new ad type
This commit is contained in:
parent
4fef4f872e
commit
bcd9836088
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue