Skip to content

Scrape reddit for Singapore Ministry of Health (MOH) updates posted to Reddit

License

Notifications You must be signed in to change notification settings

jpatokal/mohbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mohbot

Scrape reddit for Singapore Ministry of Health (MOH) updates posted to Reddit

Install

virtualenv env
. env/bin/activate
pip3 install requests pandas pyyaml
cp config.yaml.example config.yaml

Obtain a client ID and secret using the instructions here, then plug them into your config.yaml.

python3 mohbot.py

Sample output with Google Sheets visualization

MOH publication time vs cases correlation

Credits

Code heavily borrowed from How to Use the Reddit API in Python.

About

Scrape reddit for Singapore Ministry of Health (MOH) updates posted to Reddit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages