mikf / gallery-dl

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

[Twitter] Is there a way for .gif to stay as .gif instead of being downloaded as .mp4? #4697

Open luigiymario2 opened 10 months ago

luigiymario2 commented 10 months ago

Hi! I just wanna preface this by saying I really love your program! It's done wonders since the chrome extension I used to use to download twitter media from users died pretty recently, I use your program a lot to download media from twitter users and I wanted to know if there is a way for .gif downloaded to stay as .gif instead of being downloaded as .mp4 since I used to use "Twitter Media Downloader" and that was the only extension that let me download gifs as an option to stay as intended instead of converting to mp4; thanks in advance!

mikf commented 10 months ago

I had always assumed that is not possible to download gifs uploaded to Twitter as actual .gif files, since Twitter converts them to mp4, and always answered similar questions accordingly (e.g. https://github.com/mikf/gallery-dl/issues/4459#issuecomment-1691788413)

Could twMediaDownloader actually do this or were they perhaps mp4 files renamed to .gif?

I did a quick search for "gif" in twMD's code but haven't found anything useful yet.

luigiymario2 commented 10 months ago

I think Twitter Media Downloader may be converting them to .gif since whenever I click on the download button to download them as gifs it says "GIFing..." right next to the "Home" and the "Messages" pop up. image image image

So I don't know, could you maybe try giving an option where we could convert the mp4s to gif? It may sound stupid but may be possible.

mikf commented 10 months ago

https://github.com/mikf/gallery-dl/issues/2691 might be of interest.

Also, are you referring to the now deleted twMediaDownloader by furyutei with "Twitter Media Downloader" or do you mean a different project?

luigiymario2 commented 10 months ago

Yeah, that's the same program I'm referring to!

mikf commented 10 months ago

Just asking because git grep -i GIFing doesn't return any results for its code

luigiymario2 commented 10 months ago

Fair enough, I'll try to check the project myself later to see if I find anything about it; also unrelated but I thought this would be the best place to ask since I already opened this issue, would you consider supporting bluesky for gallery-dl? I would like to download some images from there with your app.