Article scraping Reddit bot. Derived from xiaoxu193's bitofnewsbot with the significant change of scraping entire articles instead of condensing them.
You can find an example of articlebot in use by /u/justice_article_bot.
Setup cron to run it every minute
Instructions for Ubuntu:
- Install dependencies
- Rename
.env.example
to.env
and edit accordingly - Rename
blacklist.txt.example
,comments.txt.example
andlinks.txt.example
to*.txt
accordingly - Install cron
sudo apt-get install cron
- Open up crontab to edit cron
sudo crontab -e
- Tell it to run every minute:
* * * * * /usr/bin/python articlebot.py
done.txt
and comments.txt
prevent duplicate comments. blacklist.txt
causes bots to ignore listed sites.
Dependencies: