0.0.2 ā¢ Published 2 years ago
raganork-insta-scraper v0.0.2
Insta Fetcher
Fetch instagram metadata with full details and simplified json metadata
ā Buy Me a Coffee : Saweria
Features
- fetchUser
- fetchPost
- fetchStories
- explore
- fetchHighlights
- fetchTV
- fetchReels
Usage
Installation:
npm i insta-fetcher
recommended to set the session id before make call to all function
const ig = require('insta-fetcher');
ig.setCookie('your session id');
Example
const ig = require('insta-fetcher');
// Public post
ig.fetchPost('https://www.instagram.com/p/CMBZUsMALA_/').then(res => {
console.log(res);
})
// User data
ig.fetchUser('mg.creativestudio').then(res => {
console.log(res);
})
// Fetch stories
ig.fetchStories('adiraas.p').then(res => {
console.log(res);
})
Contributing
All kinds of contributions are welcome - code, tests, documentation, bug reports, new features, etc...
- Send feedbacks.
- Submit bug reports.
- Write/Edit the documents.
- Fix bugs or add new features.