mmpx12 / twitter-media-downloader

twmd: CLI/GUI Apiless twitter downlaoder. Download medias from single tweet or a whole profile.
602 stars 70 forks source link

Add a file format formater #45

Closed AbdourahmaneGadio closed 7 months ago

AbdourahmaneGadio commented 7 months ago

Allow the user to set a format for the file downloaded.

Eg : 2023-05-12 twitterUsername [tweetID].mp4

The options for the file format are currently :

In the script, I added a portion of code for the tweet text (line 313 to 319). It is to manage the max length allowed for a filename in Linux.

mmpx12 commented 7 months ago

@AbdourahmaneGadio Can you rebase all in a single commit (easier to review)