-
-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[webtoons] Add a new extractor for webtoons.com #761
Conversation
The webtoons extractor can extract episode and entire comic (all episodes) from webtoons.com. All the logic of the extractors should be trivial except for a couple of kludges needed: - `ageGatePass' cookie is always set to avoid possible redirect and stop of extraction, especially in the comic extractor - The image URLs returned by the episode extractor could not be fetched directly and the `Referer:' HTTP header needs to be passed to fetch them Close #593.
Thanks!
|
And a "Thank You" back to you. There where some issues with French comic listings and input URLs without a scheme, which I've only spotted after merging. I've fixed those myself in 0378d07. Hope you don't mind. |
That's much better and simpler, thanks! |
Is it possible to sort each episode into a folder, rather than downloading every image into 1 folder? I've been playing around with the config but can't seem to get it to work. |
Hello doyleslee,
doyleslee writes:
Is it possible to sort each episode into a folder, rather than downloading every image into 1 folder? I've been playing around with the config but can't seem to get it to work.
Sure, e.g.:
% gallery-dl -o directory='["{category}", "{comic}", "{episode}"]' -o filename='{num:>02}.{extension}' 'https://www.webtoons.com/en/comedy/safely-endangered/list?title_no=352'
(For possible example on how to adjust the config similarly please give
a look to gallery-dl.conf(5) man page).
|
Hm when I try that on my pc (windows) I get the error: unrecognized arguments: URL="https://www.webtoons.com/en/fantasy/tower-of-god/list?title_no=95". I copied it exactly, not sure whats going on here. Also, what do you mean by the conf(5) main page? Do you mean this "https://github.com/mikf/gallery-dl/blob/master/docs/gallery-dl-example.conf" ? Sorry if these seem like obvious questions and thank you for helping, I'm not that experienced with python or cmd |
@doyleslee Probably the quoting of arguments (e.g.: using Regarding https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst But probably this is not present on Windows as well, at least not in the form of a man page. Here a possible configuration that permits to not pass the
Saved as |
That configuration worked perfectly - thank you! |
Nice! |
The webtoons extractor can extract episode and entire comic (all
episodes) from webtoons.com.
All the logic of the extractors should be trivial except for a couple
of kludges needed:
extraction, especially in the comic extractor
directly and the `Referer:' HTTP header needs to be passed to fetch them
Close #593.