dteviot / WebToEpub

A simple Chrome (and Firefox) Extension that converts Web Novels (and other web pages) into an EPUB.
Other
720 stars 136 forks source link

Blacklist for links to and from images? #1488

Closed T-Man2000 closed 1 month ago

T-Man2000 commented 1 month ago

Since images (and other) from (presumably) Patreon are repeatedly displayed on some pages, WTE gives the following error message:

WARNING: Site 'c10.patreonusercontent.com' has sent an Access Denied (403) error. You may need to logon to site, or browse site normally until you get a Cloudflare "Are you a human" page or satisfy some other CAPTCHA before WebToEpub can continue. Open Page?

Can I fill a blacklist somewhere in WTE that generally prevents downloads from these pages from being attempted? Or can a blacklist be built in?

gamebeaker commented 1 month ago

@T-Man2000 I only know of the option Skip Images

T-Man2000 commented 1 month ago

I would like to integrate the images in general. Just not images from specific pages. This often makes no sense, as you have to be logged in to access the images there. Patreon, Discord, etc. are examples.

gamebeaker commented 1 month ago

@T-Man2000 I changed how 403 gets handled is the new solution ok? Test versions for Firefox and Chrome have been uploaded to https://github.com/dteviot/WebToEpub/releases/tag/developer-build. Pick the one suitable for you, follow the "How to install from Source (for people who are not developers)" instructions at https://github.com/dteviot/WebToEpub/tree/ExperimentalTabMode#user-content-how-to-install-from-source-for-people-who-are-not-developers and let me know how it goes. Tested with:

dteviot commented 1 month ago

@T-Man2000 Updated version (1.0.0.0) has been submitted to Firefox and Chrome stores. Firefox version is available now. Chrome might be available in a few hours to 21 days.