Skip to content

Commit

Permalink
720pier: some download links are vip only
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Jun 30, 2020
1 parent d923336 commit 8462301
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Jackett.Common/Indexers/Pier720.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuer
if (detailRow == null)
continue; //No torrents in result
var qDownloadLink = detailRow.QuerySelector("a[href^=\"/download/torrent\"]");
if (qDownloadLink == null)
continue; //No permission to view link
var link = new Uri(SiteLink + qDownloadLink.GetAttribute("href").TrimStart('/'));
var timestr = detailRow.Children[0].QuerySelector("ul.dropdown-contents span.my_tt").TextContent;
var publishDate = DateTimeUtil.FromUnknown(timestr, "UK");
Expand Down

0 comments on commit 8462301

Please sign in to comment.