1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

[komikcast] bypass cloudflare challenge

This commit is contained in:
Mike Fährmann 2018-03-10 16:09:40 +01:00
parent f9884e2338
commit 5f37d40a3e
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -9,7 +9,7 @@
"""Extract manga-chapters and entire manga from https://komikcast.com/"""
from .common import ChapterExtractor, MangaExtractor
from .. import text, util
from .. import text, util, cloudflare
import re
@ -19,6 +19,8 @@ class KomikcastBase():
scheme = "https"
root = "https://komikcast.com"
request = cloudflare.request_func
@staticmethod
def parse_chapter_string(chapter_string, data=None):
"""Parse 'chapter_string' value and add its info to 'data'"""