mikf / gallery-dl

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

redgifs auth behind cloudflare challenge #4596

Closed adpce closed 1 year ago

adpce commented 1 year ago

Steps to replicate

  1. Invoke gallery-dl on a redgifs address
  2. wait

Here is verbose output:

[gallery-dl][debug] Version 1.25.8
[gallery-dl][debug] Python 3.9.7 - Linux-5.19.0-32-generic-x86_64-with-glibc2.35
[gallery-dl][debug] requests 2.31.0 - urllib3 1.26.16
[gallery-dl][debug] Configuration Files ['${XDG_CONFIG_HOME}/gallery-dl/config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://www.redgifs.com/watch/culturedgreenyellowbettong'
[redgifs][debug] Using RedgifsImageExtractor for 'https://www.redgifs.com/watch/culturedgreenyellowbettong'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.redgifs.com:443
[urllib3.connectionpool][debug] https://api.redgifs.com:443 "GET /v2/auth/temporary HTTP/1.1" 403 None
[redgifs][warning] Cloudflare challenge
[redgifs][error] HttpError: '403 Forbidden' for 'https://api.redgifs.com/v2/auth/temporary'

Replicates with empty config. Tried specifying Cloudflare cf_clearance token taken from manual navigation to v2/auth/temporary url, with ip addr and user agent in config, no joy.

Any help appreciated. Thank you for your time.

Hrxn commented 1 year ago

Probably related to #4583

adpce commented 1 year ago

Closing because this issue resolved itself and has not returned, so I doubt this is gallery-dl's problem.