How to build an Instagram video downloader in Node.js

Image for post
Image for post

Here’s what we’ll be building

Image for post
Image for post
The Downloader demo
Image for post
Image for post
MP4 Video link in the HTML of an Instagram page

First things first.

  1. Initialize a package.json file with default values.
npm init -y
npm i express cors axios cheerio
node scraper.js
Image for post
Image for post
Testing our endpoint with postman

Written by

Full-stack Engineer. Rails/Node.js/React. I love plantain chips! Reach me at Adebola.dev.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store