Skip to content

Commit

Permalink
sources: fix image count and page navigation on E-H
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Apr 25, 2024
1 parent fd2f1f1 commit 8bcd0c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sites/E-Hentai/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ export const source: ISource = {
return {
images,
pageCount: Grabber.countToInt(Grabber.regexToConst("page", ">(?<page>[0-9,]+)</a></td><td[^>]*>(?:&gt;|<a[^>]*>&gt;</a>)</td>", src)),
imageCount: Grabber.countToInt(Grabber.regexToConst("count", ">Showing (?<count>[0-9,]+) results<", src)),
imageCount: Grabber.countToInt(Grabber.regexToConst("count", ">Showing (?<count>[0-9,]+) results<|Found about (?<count_2>[0-9,]+) results.", src)),
urlNextPage: Grabber.regexToConst("url", '<a id="unext" href="(?<url_2>[^"]+)">', src),
urlPrevPage: Grabber.regexToConst("url", '<a id="uprev" href="(?<url_2>[^"]+)">', src),
};
},
},
Expand Down

0 comments on commit 8bcd0c7

Please sign in to comment.