Skip to content

A python script that lets you download media files from your favourite subreddits and exports posts info in a .csv format.

License

Notifications You must be signed in to change notification settings

asjadanis/reddit-scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reddit Scrapper

A python script using PRAW that lets you download media files from your favourite subreddits and exports posts info in a .csv format.

DEMO

Alt Text

Getting Started

Refer to my blogpost

First setup a reddit app from here

make sure you put http://localhost:8080 in the redirect url field

alt text

Get your client id, client secret and user agent for auth purposes.

alt text

git clone https://github.com/asjadanis/reddit-scrapper.gitt
pip install -r requirements.txt

Usage

python reddit-scrapper.py --client_id 'client-id' --client_secret 'client-secret' --user_agent 'user-agent' --subreddits ProgrammerHumor memes --limit 100 --username 'reddit user name' --password 'reddit password'
python reddit-scrapper.py -h

--username & --password are option
--subreddits list of subreddits to fetch posts from

About

A python script that lets you download media files from your favourite subreddits and exports posts info in a .csv format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages