purplepotion / sadrat

Smart Adverse Drug Reaction Assessment Tools.
MIT License
17 stars 10 forks source link

added reddit scraper #3

Closed 007vedant closed 4 years ago

007vedant commented 4 years ago

Added script for scraping Reddit. -> Scraped Top subreddits concerning health -> Exported the scraped data to CSV file via Pandas dataframe -> Each time the script runs, data gets added to the same CSV file with no redundancy ( queried by unique ids to each post (set by PRAW itself) ->Keys of CSV file: Title, id, text, date&time Script follows object-oriented programming standards and PEP-8 strictly To be Done - Parsing of comments