Skip to content

Commit

Permalink
- Added support for another GoIndex alternative LeeluPradhan/G-Index
Browse files Browse the repository at this point in the history
  • Loading branch information
KoalaBear84 committed Aug 15, 2020
1 parent 7bf73e9 commit 5056775
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OpenDirectoryDownloader/DirectoryParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ public static async Task<WebDirectory> ParseHtml(WebDirectory webDirectory, stri
return await Go2IndexParser.ParseIndex(httpClient, webDirectory);
}

if (htmlDocument.QuerySelector("script[src*=\"Bhadoo-Drive-Index\"]") != null || htmlDocument.QuerySelector("script[src*=\"/AjmalShajahan97/goindex\"]") != null)
if (htmlDocument.QuerySelector("script[src*=\"Bhadoo-Drive-Index\"]") != null ||
htmlDocument.QuerySelector("script[src*=\"/AjmalShajahan97/goindex\"]") != null ||
htmlDocument.QuerySelector("script[src*=\"/LeeluPradhan/G-Index\"]") != null)
{
return await BhadooIndexParser.ParseIndex(httpClient, webDirectory);
}
Expand Down

0 comments on commit 5056775

Please sign in to comment.