Code Monkey home page Code Monkey logo

twitter_image_downloader's Introduction

Twitter Image Downloader

About

A commandline utillity to fetch all available images of a specific twitter user.

The images will be downloaded to a given folder in the format they are provided by twitter.

Due to a restriction of the Twitter API only the last 3600 tweets of the auther can be fetched.

Prerequisites

In order to use this application you need to register as a twitter developer, and retrieve a set of tokens and secrets by creating a new "application" within your developer portal. This information is then used in order to authenticate against the twitter API used by this tool. All the keys need to be provided on the commandline for the tool to work.

Usage

$ ./twitter_image_downloader --help

Twitter Image Downloader 1.0
Jakob Westhoff <[email protected]>
Download posted images from a given twitter user

USAGE:
    twitter_image_downloader [OPTIONS] <USERNAME> --access-token <TOKEN> --access-token-secret <SECRET> --consumer-key <KEY> --consumer-secret <SECRET>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -t, --access-token <TOKEN>            Twiter API Access Token
    -s, --access-token-secret <SECRET>    Twiter API Access Token Secret
    -k, --consumer-key <KEY>              Twiter API Consumer Key
    -c, --consumer-secret <SECRET>        Twiter API Consumer Secret
    -m, --max-requests <N>                Maximal number of parallel download requests [default: 4]
    -n, --max-images <N>                  Maximal number of images to download [default: 0]
    -o, --output-directory <DIRECTORY>    Directory to storage downloaded images in

ARGS:
    <USERNAME>    Twitter username to download images from.

twitter_image_downloader's People

Contributors

jakobwesthoff avatar

Stargazers

Caleb Contreras avatar

Watchers

 avatar James Cloos avatar

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.