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

user-instagram

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

user-instagram - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

2

package.json
{
"name": "user-instagram",
"version": "2.1.2",
"version": "2.1.3",
"description": "Get user data and feed content by scraping Instagram's user page. No OAuth needed.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -106,2 +106,3 @@ const axios = require("axios");

let media_data = GQL.data.graphql.shortcode_media;
let has_caption = media_data.edge_media_to_caption.edges.length > 0;
resolve({

@@ -114,3 +115,3 @@ link: REQUEST_PARAMETERS.url.replace("/?__a=1", ""),

wasCaptionEdited: media_data.caption_is_edited,
caption: media_data.edge_media_to_caption.edges[0].node.text,
caption: has_caption? media_data.edge_media_to_caption.edges[0].node.text : null,
commentsCount: media_data.edge_media_to_parent_comment.count,

@@ -117,0 +118,0 @@ areCommentsDisabled: media_data.comments_disabled,

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