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.20.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for reddit_scraper-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 242fd3bd48c8cc3ccc455e371bfb8c2617fc3938fc653d72c44d34dc6e58a266 |
|
MD5 | 3a48e8a1ac411ac9b4d19b2b5bf04224 |
|
BLAKE2b-256 | fa1544b91fa3f44784f830e94f4f012c2cbd083a1c89e65cfc9bc7d9b75f3b0e |