missuo / twitter-dl

A simple Twitter media downloader and viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Twitter Downloader

Build status maintenance-status

Twitter API Info

This requires access to the Twitter API (which means creating a developer account).

At present there are two main API versions, neither of which are good:

API Version Supports Photos Supports Videos Supports Gifs Requires Account Approval
1.1 Yes
2.0 No

Limitations

  • Doesn't support private accounts.
  • Can only download up to 3200 tweets (API limitations).
  • No option to download retweets.

Install

From latest git:

cargo install --git https://github.com/jacob-pro/twitter-dl

Usage

First create an auth.json file containing your { "bearer_token": "$TOKEN" }

Download Twitter account(s):

twitter-dl download --out  ./twitter --users $USERNAMES --photos --videos --gifs 

View the downloaded tweets in a basic web app:

twitter-dl serve --dir  ./twitter

For full usage try the --help command.

About

A simple Twitter media downloader and viewer

License:GNU Lesser General Public License v2.1


Languages

Language:Rust 81.5%Language:JavaScript 13.6%Language:HTML 3.4%Language:CSS 1.0%Language:Makefile 0.5%