Fix bug where exhentai full resolution picture would not be found
parent
fa6baa75b7
commit
56c3e78afd
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue