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)
Metadata
Release files for reddit-scraper 0.0.21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reddit_scraper-0.0.21.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reddit_scraper-0.0.21-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / reddit_scraper-0.0.21.tar.gz
| Download URL | reddit_scraper-0.0.21.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d525606bfa14d5f91c2e4c0944fa5f3f2526345c38676872d8738d2d4356ce9e
|
|
BLAKE2b-256 checksum How to use checksums |
63a0f4c553b583e64b7a45e02e442d7f172ead75c19c0faf75ce4114a1c50dd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / reddit_scraper-0.0.21-py3-none-any.whl
| Download URL | reddit_scraper-0.0.21-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0cf66a39b6afd5fbc1ba198e13158b52d8cf0d6a38ca3d731578b22549a828be
|
|
BLAKE2b-256 checksum How to use checksums |
a24475e414163ab3cfb7bd07a11969c54e3e1421849fc714e02f06e95379f991
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|