mmpx12 / twitter-media-downloader

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

Add a file format formater #45

Closed AbdourahmaneGadio closed 8 months ago

AbdourahmaneGadio commented 8 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 8 months ago

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