Private GIT

Skip to content
Snippets Groups Projects
Commit b2ff9731 authored by kaso17's avatar kaso17 Committed by vlbox
Browse files

Demonoid: handle new ad type

parent ef51f045
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment