From 5f37d40a3e4199b0cd77a87145077886b765bd7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sat, 10 Mar 2018 16:09:40 +0100 Subject: [PATCH] [komikcast] bypass cloudflare challenge --- gallery_dl/extractor/komikcast.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/komikcast.py b/gallery_dl/extractor/komikcast.py index 96951c83..f5fd6edc 100644 --- a/gallery_dl/extractor/komikcast.py +++ b/gallery_dl/extractor/komikcast.py @@ -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'"""