[webtoons] Add a new extractor for webtoons.com (#761)

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.
This commit is contained in:
Leonardo Taccari
2020-05-18 19:04:20 +02:00
committed by GitHub
parent 7b5711ee04
commit 39cd389679
3 changed files with 140 additions and 0 deletions

View File

@@ -86,6 +86,7 @@ CATEGORY_MAP = {
"thebarchive" : "The /b/ Archive",
"vanillarock" : "もえぴりあ",
"vsco" : "VSCO",
"webtoons" : "Webtoon",
"wikiart" : "WikiArt.org",
"worldthree" : "World Three",
"xhamster" : "xHamster",