Skip to content

Commit

Permalink
Release version 4.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
s25g5d4 committed Oct 28, 2024
1 parent 86ee09a commit a6f026d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build/ehr.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// @description e-hentai & exhentai image url retriever
// @include /^https?://e-hentai.org/s/.*/
// @include /^https?://exhentai.org/s/.*/
// @version 4.4.0
// @version 4.4.1
// @author s25g5d4
// @homepageURL https://github.com/s25g5d4/e-hentai-retriever
// @grant GM_xmlhttpRequest
Expand Down Expand Up @@ -721,7 +721,7 @@
gtbMatcher.lastIndex = gdtMatcher.lastIndex;
gtbMatcher.exec(page);
const gdtContent = page.substring(gdtMatcher.lastIndex, gtbMatcher.lastIndex);
return Array.from(gdtContent.matchAll(/s\/(\w+)\/\d+-(\d+)/)).map(([, imgkey, page]) => ({ imgkey, page: parseInt(page, 10) }));
return Array.from(gdtContent.matchAll(/s\/(\w+)\/\d+-(\d+)/g)).map(([, imgkey, page]) => ({ imgkey, page: parseInt(page, 10) }));
}
fetch(url, options = {}) {
if (typeof url !== 'string') {
Expand Down
2 changes: 1 addition & 1 deletion header
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// @description e-hentai & exhentai image url retriever
// @include /^https?://e-hentai.org/s/.*/
// @include /^https?://exhentai.org/s/.*/
// @version 4.4.0
// @version 4.4.1
// @author s25g5d4
// @homepageURL https://github.com/s25g5d4/e-hentai-retriever
// @grant GM_xmlhttpRequest
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "e-hentai-retriever",
"description": "e-hentai image retriever and auto pager",
"version": "4.4.0",
"version": "4.4.1",
"author": "Zhong-Jhe Wu",
"license": "MIT",
"repository": "github:s25g5d4/e-hentai-retriever",
Expand Down

0 comments on commit a6f026d

Please sign in to comment.