Skip to content

🔥 Get downloadable url to the stories of an Instagram user!

License

Notifications You must be signed in to change notification settings

CodeDotJS/instory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



Get downloadable url to the stories of an Instagram user!


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

Releases

No releases published

Packages

No packages published