Skip to content

Downloads all images and videos from the chosen user's timeline.

License

Notifications You must be signed in to change notification settings

bHodges97/twitter-media-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

twitter-media-scraper

Downloads all images and videos from the chosen user's timeline. Media in retweets are also downloaded. Creates a folder with the given username where the files are saved. Filenames are based on their filename on the Twitter server. The video stream variant with the highest bitrate is downloaded. GIFs and videos are saved as MP4 as that is the format Twitter uses.

Requires: Tweepy

Usage:

  • Acquire API keys by reigstering with twitter.
  • Substitute key and secret in script with correct keys.
  • Subsitute name with the twitter user handle to scrape.
  • Run the script.

About

Downloads all images and videos from the chosen user's timeline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages