Skip to content

Scraping data from r/todayilearned and posting it to @todayilearnedbot on Instagram.

Notifications You must be signed in to change notification settings

AbhinavMir/til-2-insta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

til-2-insta

ReadMe for TIL-bot

About:

TIL-Bot is an automated bot that scrapes data from reddit's Today-I-Learned sub and posts them to Instagram.

Technical How-to:

I used Python's PRAW module, which is Python Wrapper for Reddit API. You can perform GET, POST, UPDATE, DELETE using this.

Secondly, I used Pythonic OpenCV to turn this data into a picture.

Lastly, I used Instagram API to upload a new Image every 6 hours to the page.

This script was NOT an API and was running on an Amazon EC2 instance. It was one long script with multiple dependencies.

Due to this we eventually ran out of space on our Instance and had to stop.

Future work

Feel free to pull this repo and work more on it.

As of now, I plan to add the following features-

  1. Turn this into an API, run a script to call API every 24 hours.

  2. Use GANs to make new abstract backgrounds.


Feel free to mail me at contact@abhinavmir.tech

Developed by CleanPegasus and Abhinavmir. Follow @todayilearnedbot on Instagram.

About

Scraping data from r/todayilearned and posting it to @todayilearnedbot on Instagram.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages