mikf / gallery-dl

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

gallery-dl doesn't work with Redgifs anymore (Feb 2022) (update on issue #1997) #2329

Closed samuel97smith closed 2 years ago

samuel97smith commented 2 years ago

gallery-dl works with glycat and other sites but doesn't work with Redgifs. I get the following error:

gallery-dl.exe "https://www.redgifs.com/watch/diligentwildxerus" [redgifs][error] An unexpected error occurred: KeyError - 'gfyId'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues.

I am 'illiterate' when it comes to programming. So, I use executable files with PowerShell in windows.

In issue "Having problems with Redgifs #1997" it was suggested that using the most recent .exe from "https://github.com/mikf/gallery-dl/actions/workflows/executables.yml" would resolve the issue. However, I did download the most recent version from there and it still doesn't work.

I would be very thankful to the developer(s) if they look into the matter and provide an executable, for complete noobs like me, which will work with Redgifs. Thanking you in advance.

NB: Even a “programming type” solution can be beneficial to me but will require very detailed step-by-step solution to be followed.

kattjevfel commented 2 years ago

Are you using the latest version? I just tried with 1.20.5 and it worked without an issue.

katt@main ~ » gallery-dl --ignore-config --verbose https://www.redgifs.com/watch/diligentwildxerus
[gallery-dl][debug] Version 1.20.5
[gallery-dl][debug] Python 3.10.2 - Linux-5.16.10-zen1-1-zen-x86_64-with-glibc2.35
[gallery-dl][debug] requests 2.27.1 - urllib3 1.26.8
[gallery-dl][debug] Starting DownloadJob for 'https://www.redgifs.com/watch/diligentwildxerus'
[redgifs][debug] Using RedgifsImageExtractor for 'https://www.redgifs.com/watch/diligentwildxerus'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.redgifs.com:443
[urllib3.connectionpool][debug] https://api.redgifs.com:443 "GET /v2/gifs/diligentwildxerus HTTP/1.1" 200 None
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): thumbs2.redgifs.com:443
[urllib3.connectionpool][debug] https://thumbs2.redgifs.com:443 "GET /DiligentWildXerus.mp4 HTTP/1.1" 200 7844948
./gallery-dl/redgifs/redgifs_diligentwildxerus.mp4
samuel97smith commented 2 years ago

Thank you very much. Apparently, I was using Version 1.18.4. Downloaded the executable from "https://github.com/mikf/gallery-dl/releases/tag/v1.20.5" and now it works.

NB: Please instruct me on how to close this issue as 'SOLVED' or are the developers/moderators only allowed to do so?

kattjevfel commented 2 years ago

There should be a button next to Comment labeled "Close issue", or "Close with comment" if also commenting at the same time.

samuel97smith commented 2 years ago

Okay, I got it. Nice talking to you kattjevfel. Thanks again.