GithubHelp home page GithubHelp logo

jacob-pro / twitter-dl Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 107 KB

A simple Twitter media downloader and viewer

License: GNU Lesser General Public License v2.1

Rust 81.48% Makefile 0.50% HTML 3.42% JavaScript 13.57% CSS 1.03%
twitter twitter-api

twitter-dl's Introduction

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.

twitter-dl's People

Contributors

jacob-pro avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

missuo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.