instory
v1.0.2
Published
Get downloadable url to the stories of an Instagram user!
Downloads
9
Maintainers
Readme
Install
$ npm install --save instory
Usage
all
const instory = require('instory');
instory('9gag').then(res => {
console.log(res);
/*
{ story:
[ 'https://scontent-lax3-2.cdninstagram.com/vp/../t50.12441-16/...8147460402176414839_n.mp4',
'https://scontent-lax3-2.cdninstagram.com/vp/../t50.12441-16/...7961590752994505111_n.jpg' ] }
*/
})
exclude videos
instory('9gag', 'video').then(res => {
console.log(res);
/*
['https://scontent-lax3-2.cdninstagram.com/vp/../t50.12441-16/...7961590752994505111_n.jpg']
*/
});
exclude images
instory('9gag', 'image').then(res => {
console.log(res);
/*
['https://scontent-lax3-2.cdninstagram.com/vp/../t50.12441-16/...8147460402176414839_n.mp4']
*/
});
API
instory(username);
instory(username, exclude)
username
:
string
exclude
:
string
~optional
Related
instories
:
Download Instagram Stories from the Command-line!
NOTE : This module is built upon the API used by Stories IG.
License
MIT © Rishi Giri