Scrape Reddit Comments as a graph structure
Project description
Usage
Run
pip install reddit-comment-scrapper
Provide the details
reddit-comment-scrapper Reddit_ID Reddit_Secret name_subreddit post_category , number_of_posts
## Structure of JSON File
- Each Submission has two entries
- Submission Body
- List of Dictionary of top level Replies
- Each reply has 3 enteries
- id of reply
- Body of Reply
- List of Dictionary of second level Replies
And this goes on Recursively in a depth first search manner till a reply with no further reply is found
JSON File always stored in a comments.json
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
Built Distribution
Close
Hashes for reddit_comment_scrapper-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd6552a2ef5f12840fc94f68614a59350ed8a170c93a12580468e2213841af2a |
|
MD5 | a27bf32cfb1313841d325ec4bf4de7ba |
|
BLAKE2b-256 | 1ca3cd741a37359f35fa657130d903b1e8e147e5ca6f943ea763c2eb683bf038 |
Close
Hashes for reddit_comment_scrapper-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe8d6353c87daebdbad60b9e6894fd70badbe8b31947cd00797add0a5a2fa609 |
|
MD5 | ee8931f5a7cbee6f50b825e415a6a365 |
|
BLAKE2b-256 | 466446acadc8fe0ca11da5989670bdcf0dcd51afc8a842e0feac876f13864e8a |