Giter Site home page Giter Site logo

hegdechaitra / twitter_news_data Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 280.78 MB

Scraping tweets and articles from news twitter handles. Can be used for teaser generation and news headline generation.

Python 100.00%
tweets scraping twint teaser news news-articles news-article-scraping twitter-scraper teaser-generation headline-generation

twitter_news_data's Introduction

twitter_news_data

Tweets scraped from twitter for set of news twitter handles. The corresponding news article from respective website has also been scrapped.

The code successfully runs on Python 3.6.9

How to scrape twitter:

  1. Install Twint using pip3 install --user --upgrade git+https://github.com/yunusemrecatalcam/twint.git@twitter_legacy2
  2. run script as python get_tweets.py

How to scrape articles:

Script to scrape NBCNews articles is made available. Run python scrape_nbcnews.py

Output:

Tweets and corresponding article scraped for set of twitter handles has been made available under /data

twitter_news_data's People

Contributors

hegdechaitra avatar

Stargazers

 avatar

Watchers

 avatar  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.