1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 11:12:40 +01:00
gallery-dl/gallery_dl
Mike Fährmann 4235d412c4
implement 'actions'
continuation of d37e7f48
but more versatile and extendable

Example:

"actions": [
    # change debug messages to info
    ["debug", "level ~info"],

    # change exit status to a non-zero value
    ["info:^No results for", "status |= 1"],

    # exit with status 2 on 429
    ["warning:429", "exit 2"],

    # restart extractor when no cookies found
    ["warning:^[Nn]o .*cookies", "restart"]
]
2023-03-10 22:08:10 +01:00
..
downloader [downloader:http] change '_http_retry' to accept a Python function 2023-03-09 23:30:15 +01:00
extractor [nitter] remove nitter.pussthecat.org 2023-03-09 23:48:39 +01:00
postprocessor [pixiv] fix tag write when set to original 2023-02-19 00:09:05 -06:00
__init__.py add '--config-create' command-line option 2023-03-01 14:49:40 +01:00
__main__.py
actions.py implement 'actions' 2023-03-10 22:08:10 +01:00
aes.py
cache.py
config.py add '--config-create' command-line option 2023-03-01 14:49:40 +01:00
cookies.py put argument init on separate lines 2023-02-10 17:05:20 +01:00
exception.py implement restarting an extractor (#3338) 2023-02-11 21:06:14 +01:00
formatter.py [formatter] enclose f-strings with """ instead of ''' 2023-03-03 20:03:27 +01:00
job.py implement 'actions' 2023-03-10 22:08:10 +01:00
oauth.py replace remaining instances of base64 with binascii 2023-03-02 18:25:47 +01:00
option.py add '--config-create' command-line option 2023-03-01 14:49:40 +01:00
output.py implement 'actions' 2023-03-10 22:08:10 +01:00
path.py put argument init on separate lines 2023-02-10 17:05:20 +01:00
text.py add 'default' argument to 'text.extr()' 2022-11-09 11:00:32 +01:00
util.py move executable check into util.py 2023-02-28 23:10:23 +01:00
version.py move user agent string to util.py 2023-02-22 11:09:17 +01:00
ytdl.py [ytdl] fix '--parse-metadata' (#3663) 2023-03-05 19:57:23 +01:00