Sorry if this is messy, I'm not too familiar with python or pull requests.
I added a -v, --video flag to include videos and gifs (which are converted to videos by twitter) to be downloaded. Not sure why but only some videos and gifs get downloaded with this method. Quick troubleshooting session seems to indicate it might be an issue with the Twitter API at the moment.
Added an -f, --filenaming flag to enable formatting file names by tweet date, time, twitter handle, and media number (for tweets with multiple images). This is what I added the datetime module for. E.g. 170126_162000_dannytaylor_0.mp4 instead of C2r0qBzUoAAGIpK.mp4.
Sorry if this is messy, I'm not too familiar with python or pull requests.
I added a
-v, --video
flag to include videos and gifs (which are converted to videos by twitter) to be downloaded. Not sure why but only some videos and gifs get downloaded with this method. Quick troubleshooting session seems to indicate it might be an issue with the Twitter API at the moment.Added an
-f, --filenaming
flag to enable formatting file names by tweet date, time, twitter handle, and media number (for tweets with multiple images). This is what I added thedatetime
module for. E.g. 170126_162000_dannytaylor_0.mp4 instead of C2r0qBzUoAAGIpK.mp4.