Open grince opened 3 years ago
Since we are using https://docs.python-requests.org/en/master/ basic cookie support is already there. See for example the webtoons module: https://github.com/webcomics/dosage/blob/848f051a8922c96c172158dcc6adf8010cf815c3/dosagelib/plugins/webtoons.py#L23
Injecting additional cookies via a command line option would probably a nice extension to this feature...
well - webtoons doesn't use _basicscraper, so I have to fiddle around a little bit. maybe I'll find a way to inject it with basicscraper.
_BasicScraper
is basically deprecated, but the HTTP part should neverless work the same way regardless of scraper base class.
Ah, good to know. then I'll try ParserScraper, since that seems to be the better choice. Thanks for the information!
Hi,
some comics have different images wether you are logged in or not. would it be possible to add cookie-support for a scraper, so I can either set various cookies within the scraper definition or head to a cookies.txt-file which contains all necessary cookies?