reddit_scraper
Project description
reddit_scraper
Description
Install
pip install reddit_scraper
# or
pip3 install reddit_scraper
Usage
from kcu import kjson
from reddit_scraper.reddit_scraper import RedditScraper
# posts = RedditScraper.get_posts('askreddit', max_count=10)
# print(len(posts))
id_ = 'hyuiqg'
post = RedditScraper.get_post(id_, comments_min_score=250)
j = post.json
del j['post_dict']
del j['comments_dict']
kjson.save(id_ + '.json', j)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
reddit_scraper-0.0.21.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for reddit_scraper-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cf66a39b6afd5fbc1ba198e13158b52d8cf0d6a38ca3d731578b22549a828be |
|
MD5 | 79dcc32c0a6782df72e2153062e70d68 |
|
BLAKE2b-256 | a24475e414163ab3cfb7bd07a11969c54e3e1421849fc714e02f06e95379f991 |