Difegue / Tsukihi

🐦 Browser WebExtension for LANraragi.
MIT License
44 stars 3 forks source link

Scrape Gallery/Query pages? #2

Open CuddleBear92 opened 3 years ago

CuddleBear92 commented 3 years ago

Anyway you can add sccraping/parsing of the gallery/query pages you could download. Would just need to load the html and look for the same urls the download system supports. Unless you make some sort of url class to identify the correct urls in a list. This way the user dont need to open all the issues in tabs before sending, instead they could refine queries and send it all in a single bulk.

EDIT: i guess this could also be done on the downloader side for a smoother and better interaction when i think about it. Oh well.

Difegue commented 3 years ago

The download system doesn't really have any concept of "supported" URLs, it will try to download anything that's thrown at it. (Potentially going through a downloader plugin if their regex match the URL)

I don't really plan to add a system like Hydrus' url classes as I feel it's a lot of overhead for little gain. (It's useful when you want to dump a whole danbooru page and not have to open every image, but for doujins? meh)