All Projects → Spark-NF → Twitter_media_downloader

Spark-NF / Twitter_media_downloader

Licence: apache-2.0
Twitter media downloader.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Twitter media downloader

Ripme
Downloads albums in bulk
Stars: ✭ 2,748 (+3564%)
Mutual labels:  downloader, twitter
Bash2mp4
Video Downloader for Termux .
Stars: ✭ 68 (-9.33%)
Mutual labels:  downloader, twitter
Dmarchiver
A tool to archive the direct messages, images and videos from your private conversations on Twitter
Stars: ✭ 204 (+172%)
Mutual labels:  downloader, twitter
Yt Dlc
media downloader and library for various sites.
Stars: ✭ 2,590 (+3353.33%)
Mutual labels:  media, downloader
fbdl
📥 Download publicly shared videos from Facebook with an ease!
Stars: ✭ 29 (-61.33%)
Mutual labels:  downloader, media
Hitomi Downloader
🍰 Desktop application to download images/videos/music/text from Hitomi.la and other sites, and more.
Stars: ✭ 1,154 (+1438.67%)
Mutual labels:  downloader, twitter
Redditdownloader
Scrapes Reddit to download media of your choice.
Stars: ✭ 521 (+594.67%)
Mutual labels:  media, downloader
Instascrape
🚀 A fast and lightweight utility and Python library for downloading posts, stories, and highlights from Instagram.
Stars: ✭ 76 (+1.33%)
Mutual labels:  media, downloader
Go Odbye
Goodbye unfollowers!
Stars: ✭ 70 (-6.67%)
Mutual labels:  twitter
Echofon Firefox Unofficial
Echofon Unofficial - maintained version of Echofon: full featured, super clean Twitter app for Firefox.
Stars: ✭ 73 (-2.67%)
Mutual labels:  twitter
Musicdownloader
Material design YouTube mp3/mp4 downloader
Stars: ✭ 70 (-6.67%)
Mutual labels:  downloader
Skraper
Kotlin/Java library and cli tool for scraping posts and media from various sources with neither authorization nor full page rendering (Facebook, Instagram, Twitter, Youtube, Tiktok, Telegram, Twitch, Reddit, 9GAG, Pinterest, Flickr, Tumblr, IFunny, VK, Pikabu)
Stars: ✭ 72 (-4%)
Mutual labels:  twitter
Network Avatar Picker
A npm module that returns user's social network avatar. Supported providers: facebook, instagram, twitter, tumblr, vimeo, github, youtube and gmail
Stars: ✭ 74 (-1.33%)
Mutual labels:  twitter
Chirrapp
Chirr App splits text into tweets and posts it as a thread
Stars: ✭ 75 (+0%)
Mutual labels:  twitter
21 Recipes
📕 An R/rtweet edition of Matthew A. Russell's Python Twitter Recipes Book
Stars: ✭ 69 (-8%)
Mutual labels:  twitter
Twitter Webhook Boilerplate Node
A simple Node.js app using Express 4 for Twitter DMs and webhooks.
Stars: ✭ 69 (-8%)
Mutual labels:  twitter
React Native Jw Media Player
React-Native Android/iOS bridge for JWPlayer SDK (https://www.jwplayer.com/)
Stars: ✭ 76 (+1.33%)
Mutual labels:  media
Saavn Downloader Extension
Chrome Extension to download songs and block ads for jiosaavn.com (previously saavn.com)
Stars: ✭ 74 (-1.33%)
Mutual labels:  downloader
Sarcasm Detection
Detecting Sarcasm on Twitter using both traditonal machine learning and deep learning techniques.
Stars: ✭ 73 (-2.67%)
Mutual labels:  twitter
Double pendulum
Animations of random double pendulums
Stars: ✭ 73 (-2.67%)
Mutual labels:  twitter

Twitter media downloader

GitHub issues Build status Code Coverage Project license

About

Downloads all videos and images from a Twitter account.

Supports downloading an user's tweets, retweets, and likes.

Usage

twitter_media_downloader.py [-h] [-o DIR] [-f FORMAT] [-s IMAGE_SIZE] [-r] [-u] [-q] userid [...]

On first run, the program will ask you for your OAuth token and secret. It will then be stored in a .oauth.json file so that you don't need to enter them every single time.

Arguments

  • userid: the account name or ID (1 or more), if it starts with a @ it will be opened as a file (one account per line)
  • -h, --help: show the help and exit
  • -o DIR, --output DIR: set the output directory where medias will be downloaded
  • -f FORMAT, --format FORMAT: the filename format, see below for the available tokens to use
  • -s IMAGE_SIZE, --image-size IMAGE_SIZE: the preferred image size to download, will fallback to the default size if not available
  • --since DATE: the start date of the search, accepted formats: YYYY-mm-dd HH:MM and YYYY-mm-dd (defaults to 00:00)
  • --since-id ID: the start ID of the search (exclusive)
  • --until DATE: the end date of the search, accepted formats: YYYY-mm-dd HH:MM and YYYY-mm-dd (defaults to 00:00)
  • --until-id ID: the end ID of the search (inclusive)
  • -r, --retweets: also download medias from retweets
  • -l, --likes: download an user's likes instead of its tweets
  • -u, --userid: append the userid to the output directory
  • -q, --quiet: disable output

Example

python twitter_media_downloader.py -o out -f "[%date%] %filename%.%ext%" -s large -u Twitter

Will download all of the Twitter account media files into the out/Twitter/ directory, each file named like [2017-01-11 05-56-33] C13U6d-VQAAVKeY.jpg.

Available tokens for format

  • tweet_id: the tweet identifier (original_tweet_id for retweets)
  • date: the tweet post date (original_date for retweets)
  • user_id: the tweet author ID (original_user_id for retweets)
  • user_name: the tweet author name (original_user_name for retweets)
  • user_screen_name: the tweet author screen name / username (original_user_screen_name for retweets)
  • filename: the file filename on the server
  • ext: the file extension
  • type: "tweet" or "retweet"

Authors

License

The program is licensed under the Apache License 2.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].