diff --git a/package.json b/package.json index 45bc273..b7da2a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "neo-scraper", - "version": "0.7.2", + "version": "0.7.3", "description": "Scrape a booru-like post object from the DOM.", "type": "module", "main": "dist/index.js", diff --git a/src/engines/Ehentai.ts b/src/engines/Ehentai.ts index 23012f3..1089d01 100644 --- a/src/engines/Ehentai.ts +++ b/src/engines/Ehentai.ts @@ -19,7 +19,7 @@ export default class Ehentai extends ScrapeEngineBase { post.contentUrl = imgUrl.src; } - const originalSourceUrl = document.querySelector("a[href*='fullimg.php']") as HTMLAnchorElement; + const originalSourceUrl = document.querySelector("a[href*='fullimg']") as HTMLAnchorElement; if (originalSourceUrl) { // Set "extra" image url. This URL only gives a good response if the cookies are included. // This might also only work on certain accounts.