mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.63k stars 951 forks source link

Downloader retries for specific extractors #6177

Open a84r7a3rga76fg opened 1 month ago

a84r7a3rga76fg commented 1 month ago

Is there any way to use downloader retries for a specific extractor without attributing it to all extractors?

    "downloader":
    {
        "retries": -1,
    }

downloader retries overrides this:

        "twitter":
        {
            "retries": 0,
        }
mikf commented 1 month ago

No, there currently isn't.

When download.retries is not set, it defaults to extractor.retries, so you could just set that to -1 instead of the downloader setting. Or you use a separate config file.