Skip to main content

Twitter frontend API scraper

Project description

twitterpeel is a Twitter frontend API scraper based on Kenneth Reitz’s twitter-scraper. I originally wrote it because twitter-scraper was not compatible with Python 3.7.

Features

  • No Twitter API authentication necessary.
  • Fast.

Requirements

  • Python 3.6 or higher

Installation

$ pip3 install twitterpeel

or

$ git clone git@github.com:kylepw/twitterpeel.git && cd twitterpeel

Usage

>>> from twitterpeel import get_tweets
>>>
>>> for t in get_tweets('MISTERMORT', pages=3):
...     print(t['tweetid'], t['text'])
...
1108565146019000321 i wonder if neiman marcus missed me...
1108521311863738369 Today is the day of spring equinox AND a full moon...
1108442303465697281 forgot what i was going to say
...

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twitterpeel-0.2.0.tar.gz (3.6 kB view hashes)

Uploaded source

Built Distribution

twitterpeel-0.2.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page