Skip to main content

No project description provided

Project description

Weibo Scraper

Simple weibo tweet scraper . Crawl weibo tweets by containedId without authorization. There are many limitations in official API . In general , we can inspect mobile site which has it's own API by Chrome.


Installation

$ pip install weibo-scraper

Only Python 3.6+ is supported


Usage

from weibo_scraper import get_weibo_tweets

for tweet in get_weibo_tweets(container_id='1076031843242321',pages=5):
    print(tweet)

img

P.S. Very Thanks For Twiiter-Scraper


LICENSE

MIT

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

weibo-scraper-1.0.2.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

weibo_scraper-1.0.2-py2.py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page