Last active
February 11, 2021 17:44
-
-
Save pistocop/3784e19dce1c6e00eeb4f4619bb98c97 to your computer and use it in GitHub Desktop.
subreddit-text-downloader simple scrape
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Init | |
$ git clone https://github.com/pistocop/subreddit-comments-dl.git | |
$ cd subreddit-comments-dl | |
$ pip install -r requirements.txt | |
# Download the AskReddit comments of the last 30 submissions | |
$ python src/subreddit_downloader.py AskReddit --batch-size 10 --laps 3 --reddit-id <reddit_id> --reddit-secret <reddit_secret> --reddit-username <reddit_username> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment