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 details)
Built Distribution
File details
Details for the file reddit_scraper-0.0.21.tar.gz
.
File metadata
- Download URL: reddit_scraper-0.0.21.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d525606bfa14d5f91c2e4c0944fa5f3f2526345c38676872d8738d2d4356ce9e |
|
MD5 | 864ff275c0807de745c1ebf8dc252e03 |
|
BLAKE2b-256 | 63a0f4c553b583e64b7a45e02e442d7f172ead75c19c0faf75ce4114a1c50dd6 |
File details
Details for the file reddit_scraper-0.0.21-py3-none-any.whl
.
File metadata
- Download URL: reddit_scraper-0.0.21-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/3.7.3 pkginfo/1.5.0.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cf66a39b6afd5fbc1ba198e13158b52d8cf0d6a38ca3d731578b22549a828be |
|
MD5 | 79dcc32c0a6782df72e2153062e70d68 |
|
BLAKE2b-256 | a24475e414163ab3cfb7bd07a11969c54e3e1421849fc714e02f06e95379f991 |