Skip to content

'429 Too Many Requests' when downloading from flickr with sleep 3-10 #8297

Description

@francoisbruneau

Running gallery-dl 1.30.8 on Mac OS Tahoe 26.0
Created custom api keys following documentation, and added them to ~/.config/gallery-dl/config.json .

Even with --sleep parameter set to 3-10, I am getting code 429 warnings after a couple of minutes. This is strange since those sleep times should keep me way below the Flickr API rate limit of 3600 hits per hours.

Here's gallery-dl verbose output:

[flickr][debug] Sleeping 7.31 seconds (download)
[urllib3.connectionpool][debug] https://live.staticflickr.com:443 "GET /65535/54563472386_47218c24e9_o_d.jpg HTTP/1.1" 429 117
[downloader.http][warning] '429 Too Many Requests' for 'https://live.staticflickr.com/65535/54563472386_47218c24e9_o_d.jpg'
[download][error] Failed to download flickr_54563472386.jpg

My config file is the following:

% cat config.json
{
    "extractor": {
        "flickr": {
            "api-key": "my-api-key",
            "api-secret": "my-api-secret",
            "access-token": "my-access-token",
            "access-token-secret": "my-access-token-secret"
        }
    },
    "downloader": {

    },
    "output": {

    },
    "postprocessor": {

    }
}

Does anyone have an idea what could be triggering these "Too Many Requests" warnings in such circumstances?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions