projects:instagram_crawler

This is an old revision of the document!


  • multiple 7" or 10" displays and/or projectors
  • each display/projector runs a slideshow of images/videos found on instagram with its own unique hashtag
  • 1 audio speaker associated with each display
  • each audio speaker plays audio from video when video is shown, plays chooses randomly from a set of audio files when showing images
  • images are shown between X and Y seconds (?)
  • entire video is shown or random clips of video are shown for between X and Y seconds (?)
  • crossfade between images and between video
  • projectors and 7"/10" displays are never mirroring each other (?, hopefully?)
  • We already have rPI Picos, 7" displays for rPI, projector
  • Picos don't run Linux and therefore don't run Python or Java. Probably C++based like the ESP32
  • Picos don't support the 7" displays
  • Projector interface unknown but probably VGA/HDMI
  • Instalooter is a Python-based Instagram scraper that grabs images and video from hashtags and saves them in a directory
    • tested and seems to work perfectly with both images and video with sound for this application
    • opens browser on first run (only)
    • update: does not seem to work anymore?
  • instagramy is another Python-based scraper
  • Apify looks to be a private API for Instagram that can do the job with API calls. There's a free tier but haven't dug in further
  • There's a couple of Java-based Instagram scrapers perhaps worth considering

rPI

Purchase rPIs that will run Instalooter and connect with the 7" displays we already have. Write/find/modify slideshow app to show the images/video and play the audio

This is a great solution except for that rPIs that work with the 7" displays will probably cost about $100 each in today's market after power supply and memory are considered. We also would need to figure out amplification and speakers for each Pi. In spite of this, it is likely the fastest way to get results.

Android Tablets

Purchase Android tablets. Rip tablets out of their case as appropriate to hide electronics etc. Port Instalooter, roll our own scraper, use an existing Java scraper, or use Kivy to move Instalooter to Android. Write/find/modify slideshow app to show the images/video and play the audio. Make some simple circuitry such that tablets turn on automatically when power is applied (push the “on” switch)

This is the least expensive option as used Android tablets are cheap. It will take some work to get a scraper working in Java/Kotlin. Not sure how much work and could be a bigger job than it's worth.

Android Tablets and Central Computer

Purchase Android tablets. Rip out of case as appropriate to hide electronics etc. Have a central computer (probably an old Chromebook Laptop hidden somewhere with lid closed) do the scraping. Android tablets get the images/video wirelessly from central computer and show images. Write/find/modify slideshow app to show the images/video and play the audio. Make some simple circuitry such that tablets turn on automatically when power is applied (push the “on” switch)

This shouldn't be too much more work than just using the rPIs since we can use Instalooter without modification. It's at least a lot less work than the previous option.

  • projects/instagram_crawler.1666735599.txt.gz
  • Last modified: 2022/10/25 17:06
  • by John Harrison