Sinon Stories is a simple Instagram Stories downloader module.
This is linked to Sinon a video downloading & converting app.
npm i sinon-stories
You will need to input your username, and password. There is a much greater chance of a successful login if you include a cookie file from Instagram while you are logged in. You can obtain this through a few browser extensions.
sinonStories({
username: 'coolinfluencer420',
password: '1234Password',
targetAccount: 'jack.c.gracie',
targetDir: './',
cookieFile: './cookie.txt',
});
only_video: boolean
// Will download only videoonly_photo: boolean
// Will download only photosprint: boolean
// Will only print story URLsproxy: string
// Use proxylanguage: string
// Set languageverbose: boolean
// Print error in full
Sinon Stories is async. Below is an example usage.
const sinonStories = require('sinon-stories');
sinonStories({
username: 'coolinfluencer420',
password: '1234Password',
targetAccount: 'jack.c.gracie',
targetDir: './',
cookieFile: './cookie.txt',
print: true,
only_video: true
}).then((storyURLS) => {
console.log(storyURLS)
});
- Reducing dependencies
- Highlights download