This is a simple instagram reel link generator using cheerio and axios by targeting instagram public data DB GraphQL. NodeJS-powered API.
- Put instagram reel link.
- Get reel URL.
- Magic 😎
- Get all reel's URL.
Insta-reel uses a number of open source projects to work properly:
- Cheerio - Fast, flexible & lean implementation of core jQuery designed specifically for the server.
- node.js - Run the backend.
- axios - The simplified HTTP request client 'request' with Promise support.
- [nodemon] - nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.
You can send pull request from git-repo-url. on GitHub.
Instareel requires Node.js to run.
Install the dependencies and devDependencies and start the server.
npm i insta-reel
const instareel = require("insta-reel");
const URL = "https://www.instagram.com/reel/CP4_gXYIup1/?utm_medium=copy_link"; // Instagram reel sharable link
(async() => {
const reel = await instareel(URL);
console.log(reel);
})();
{
display_url: 'https://instagram.fccu14-1.fna.fbcdn.net/v/t51.2885-15/e35/197426457_1120064678484084_4275768831824583801_n.jpg?tp=1&_nc_ht=instagram.fccu14-1.fna.fbcdn.net&_nc_cat=100&_nc_ohc=pfmPmtFUaTYAX9vF0La&edm=APfKNqwBAAAA&ccb=7-4&oh=1b7b9f64d6588d6dabe5b52606d85d7a&oe=60E20A27&_nc_sid=74f7ba',
video_url: 'https://instagram.fccu14-1.fna.fbcdn.net/v/t50.2886-16/198370938_205345488102850_8777608826093414179_n.mp4?_nc_ht=instagram.fccu14-1.fna.fbcdn.net&_nc_cat=110&_nc_ohc=RXeUAKr7U8MAX-xVQP9&edm=APfKNqwBAAAA&ccb=7-4&oe=60E263B4&oh=4d4e6fb99853e2ba6c33a58a75725892&_nc_sid=74f7ba'
}
ISC
Free Software, Hell Yeah!