[kissmanga][readcomiconline] add 'captcha' option (#279)

to configure how to handle CAPTCHA page redirects:
- either interactively wait for the user to solve the CAPTCHA
- or raise StopExtraction like before
This commit is contained in:
Mike Fährmann
2019-05-27 22:24:48 +02:00
parent e30ada162d
commit 4465a3ea68
4 changed files with 60 additions and 22 deletions

View File

@@ -593,6 +593,18 @@ Description Controls whether to choose the GIF or MP4 version of an animation.
=========== =====
extractor.kissmanga.captcha
---------------------------
=========== =====
Type ``string``
Default ``"stop"``
Description Controls how to handle redirects to CAPTCHA pages.
* ``"stop``: Stop the current extractor run.
* ``"wait``: Ask the user to solve the CAPTCHA and wait.
=========== =====
extractor.oauth.browser
-----------------------
=========== =====
@@ -646,6 +658,18 @@ Description Minimum and maximum wait time in seconds between HTTP requests
=========== =====
extractor.readcomiconline.captcha
---------------------------------
=========== =====
Type ``string``
Default ``"stop"``
Description Controls how to handle redirects to CAPTCHA pages.
* ``"stop``: Stop the current extractor run.
* ``"wait``: Ask the user to solve the CAPTCHA and wait.
=========== =====
extractor.recursive.blacklist
-----------------------------
=========== =====

View File

@@ -62,6 +62,10 @@
{
"mp4": true
},
"kissmanga":
{
"captcha": "stop"
},
"nijie":
{
"username": null,
@@ -82,6 +86,10 @@
"wait-min": 3.0,
"wait-max": 6.0
},
"readcomiconline":
{
"captcha": "stop"
},
"recursive":
{
"blacklist": ["directlink", "oauth", "recursive", "test"]