add '"skip": "terminate"' option

Stops not only the current extractor/job,
but all parent extractors/jobs as well.
This commit is contained in:
Mike Fährmann
2021-05-12 02:22:28 +02:00
parent 4835888acc
commit c693db5b1a
6 changed files with 22 additions and 4 deletions

View File

@@ -226,10 +226,14 @@ Description
* ``true``: Skip downloads
* ``false``: Overwrite already existing files
* ``"abort"``: Abort the current extractor run
* ``"abort:N"``: Skip downloads and abort extractor run
* ``"abort"``: Stop the current extractor run
* ``"abort:N"``: Skip downloads and stop the current extractor run
after ``N`` consecutive skips
* ``"terminate"``: Stop the current extractor run, including parent extractors
* ``"terminate:N"``: Skip downloads and stop the current extractor run,
including parent extractors, after ``N`` consecutive skips
* ``"exit"``: Exit the program altogether
* ``"exit:N"``: Skip downloads and exit the program
after ``N`` consecutive skips