Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

instagram-stories

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

instagram-stories - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

13

index.js

@@ -67,1 +67,14 @@ const fetch = require('isomorphic-fetch')

)
exports.getMediaByLocation = ({
id,
sessionid,
userid,
headers = defaultHeaders
}) => (
fetch(`https://www.instagram.com/explore/locations/${id}/?__a=1`, {
headers: getHeaders(headers, sessionid, userid)
})
.then(res => res.json())
.then(({graphql}) => graphql)
)

6

package.json
{
"name": "instagram-stories",
"version": "1.1.1",
"description": "Instagram Stories",
"version": "1.1.2",
"description": "Unofficial package for scraping instagram stories",
"license": "MIT",
"repository": "jlobos/instagram-stories",
"author": "Jesus Lobos <jlobitu@gmail.com> (https://jlobos.com/)",
"author": "Jesus Lobos <jlobitu@gmail.com>",
"main": "index.js",

@@ -9,0 +9,0 @@ "scripts": {

@@ -5,2 +5,3 @@ # instagram-stories

[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
[![Gitter](https://camo.githubusercontent.com/e5749889f0ddb3458befeee4f3fcac67e73ba76d4fc3aa4cbcc91c8085a34369/68747470733a2f2f6261646765732e6769747465722e696d2f6f682d6d792d706f73682f4c6f6262792e737667)](https://gitter.im/instagram-stories)

@@ -45,2 +46,6 @@ Get the Instagram Stories in Node.js

})
getMediaByLocation({ id: '292188415', userid: 1284161654, sessionid: '' }).then(({ location }) => {
console.log(location.name)
})
```

@@ -47,0 +52,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc