GithubHelp home page GithubHelp logo

twitter_scraper's Introduction

What is it?

See something cool on Twitter, think "I'd like to read that/investigate it later", hit favourite, forget about entirely. 5 years pass, and you discover hundreds of "liked" tweets and a whole bunch of things you never read.

After creating an app in Twitter, this will grab info about tweets you've favourited and dump them into a CSV file for easy consumption.

What does it do?

Downloads all available favourites, dumps everything into a JSON file, also parses out basic information about a favourite, writes to CSV.

  • The text of the tweet (limited to preview, not full 240 characters)
  • The user who tweeted it
  • Created data (of the tweet)
  • ID (for eventual pagination)

What needs to be done?

  • Grab full text of tweets
  • Parse links out into their own columns
  • Handle images
  • What about threads?
  • ANALYZE!
  • Dig through the monster JSON file, grab hashtags from each favourite
  • Group faves by hashtag/poster/subject matter
  • Can I set up the auth flow so someone can just enter their credentials?

Structure of gear object

gear = {
  "api_key":"",
  "api_secret":"",
  "access_token":"",
  "access_token_secret":""
}

Extensively uses Python Twitter

twitter_scraper's People

Contributors

pythomike avatar

Stargazers

 avatar

Watchers

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.