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

priyansh-ig-downloader

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

priyansh-ig-downloader - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

69

package.json

@@ -0,27 +1,43 @@

{
"name": "priyansh-ig-downloader",
"version": "2.0.0",
"description": "Get direct url to download from Instagram media links",
"main": "src/index.js",
"version": "2.0.1",
"main": "dist/bundle.js",
"scripts": {
"test": "node src/test.js"
"build": "rollup --config",
"test": "node ./test/test.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/priyanshu192/priyansh-ig-downloader.git"
},
"keywords": [
"instagram",
"downloader",
"media",
"Instagram",
"Downloader",
"Download",
"Media",
"link",
"photo",
"video",
"url",
"picture",
"Photo",
"Video",
"Videos",
"Url",
"Picture",
"image",
"download"
"Images",
"download",
"insta",
"Stories",
"Node.js",
"Instagram API",
"Social Media",
"Media Downloader",
"Instagram Downloader",
"JavaScript",
"API Integration",
"IG Media Download",
"Social Media Tools"
],
"author": "Priyansh Rajput",
"license": "MIT",
"description": "This Node.js package provides a simple and efficient way to download media from Instagram. Whether you need to download images, videos, or stories, this package makes it easy with minimal setup. Designed for developers, this package supports various media formats and ensures quick downloads, making it perfect for both personal use and larger projects. With straightforward API calls, you can integrate Instagram media downloading functionality into your applications effortlessly.",
"repository": {
"type": "git",
"url": "git+https://github.com/priyanshu192/priyansh-ig-downloader.git"
},
"bugs": {

@@ -32,6 +48,21 @@ "url": "https://github.com/priyanshu192/priyansh-ig-downloader/issues"

"dependencies": {
"axios": "^1.6.8",
"cheerio": "^1.0.0-rc.12",
"qs": "^6.12.1"
"crypto-js": "^4.2.0"
},
"devDependencies": {
"rollup": "^4.18.0"
},
"files": [
"README.md",
"LICENSE"
],
"engines": {
"node": ">=14.0.0"
},
"private": false,
"directories": {
"test": "test"
},
"publishConfig": {
"access": "public"
}
}
## Instalation :
```bash
> npm i --save priyansh-ig-downloader
> npm i priyansh-ig-downloader
```

@@ -8,13 +8,14 @@

```js
const instagramGetUrl = require("priyansh-ig-downloader")
async function downloadMedia() {
try {
const download = await instagramGetUrl("https://www.instagram.com/tv/CdmYaq3LAYo/");
console.log(download);
} catch (error) {
console.error(error);
}
const insta = require("priyansh-ig-downloader");
async function test(url) {
try {
const result = await insta(url);
console.log(result);
} catch (error) {
console.error("Error fetching data:", error);
}
}
downloadMedia();
test("https://www.instagram.com/reel/C9HytkYS4Hc/?utm_source=ig_web_copy_link");
```

@@ -24,7 +25,9 @@ ## Output Example

{
results_number : 1,
url_list : [
'https://scontent.cdninstagram.com/v/t50.2886-16/281176759_330829732466343_6214175692160325206_n.mp4?_nc_ht=scontent.cdninstagram.com&_nc_cat=103&_nc_ohc=tsiSkUxDxfEAX-u8MmX&edm=AJBgZrYBAAAA&ccb=7-5&oe=62D43703&oh=00_AT-8ndeJFByZE0H6IqNwZasKMBfaqXRiwGoFL1tR_RSflA&_nc_sid=78c662'
]
"video": [
{
"video": "https://scontent.cdninstagram.com/o1/v/t16/f2/m69/An9VukWeVHPYEj_QoBTxvf0tfXakKJyWBnztDeTFbQnOgu4XVsGh1Y4xi8ucjLzRFEqnQXom7sn5MSlr01mZbWN3.mp4?efg=eyJxZV9ncm91cHMiOiJbXCJpZ193ZWJfZGVsaXZlcnlfdnRzX290ZlwiXSIsInZlbmNvZGVfdGFnIjoidnRzX3ZvZF91cmxnZW4uY2xpcHMuYzIuMTA4MC5iYXNlbGluZSJ9&_nc_ht=scontent.cdninstagram.com&_nc_cat=111&vs=497431829473320_3124900975&_nc_vs=HBksFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HQXZCQlJRTXI0ZThmc0FDQUhwU212emZpdTU5YnBSMUFBQUYVAALIAQAVAhg6cGFzc3Rocm91Z2hfZXZlcnN0b3JlL0dBVFAwQnBUU1J0S21NZ0NBSHFCM0hWajJtNEVicV9FQUFBRhUCAsgBACgAGAAbABUAACb%2B7dzD24aXQRUCKAJDMywXQDuQ5WBBiTcYFmRhc2hfYmFzZWxpbmVfMTA4MHBfdjERAHX%2BBwA%3D&_nc_rid=5c862724ed&ccb=9-4&oh=00_AYCg7DV04LknbzJ_Y09ehpcdqt3Jl9gykX2lFieJAjWUJg&oe=668D6CE5&_nc_sid=10d13b",
"thumbnail": "https://scontent.cdninstagram.com/v/t51.29350-15/450258777_1528082971118106_3162685055130347958_n.jpg?stp=dst-jpg_e15&_nc_ht=scontent.cdninstagram.com&_nc_cat=1&_nc_ohc=P2DVaf_sZ0IQ7kNvgFSmczi&edm=APs17CUBAAAA&ccb=7-5&oh=00_AYC7b5Dib4CyVhX_h6D1Tb8hZSuKD0fbAfcNcvN78enfaA&oe=66916EA3&_nc_sid=10d13b"
}
]
}
```
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