priyansh-ig-downloader
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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" | ||
} | ||
] | ||
} | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
1
32
0
3297
1
2
0
1
+ Addedcrypto-js@^4.2.0
+ Addedcrypto-js@4.2.0(transitive)
- Removedaxios@^1.6.8
- Removedcheerio@^1.0.0-rc.12
- Removedqs@^6.12.1
- Removedasynckit@0.4.0(transitive)
- Removedaxios@1.7.9(transitive)
- Removedboolbase@1.0.0(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removedcheerio@1.0.0(transitive)
- Removedcheerio-select@2.1.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcss-select@5.1.0(transitive)
- Removedcss-what@6.1.0(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removeddom-serializer@2.0.0(transitive)
- Removeddomelementtype@2.3.0(transitive)
- Removeddomhandler@5.0.3(transitive)
- Removeddomutils@3.2.2(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedencoding-sniffer@0.2.0(transitive)
- Removedentities@4.5.0(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.1.1(transitive)
- Removedfollow-redirects@1.15.9(transitive)
- Removedform-data@4.0.1(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.7(transitive)
- Removedget-proto@1.0.1(transitive)
- Removedgopd@1.2.0(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhtmlparser2@9.1.0(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedmath-intrinsics@1.1.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removednth-check@2.1.1(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedparse5@7.2.1(transitive)
- Removedparse5-htmlparser2-tree-adapter@7.1.0(transitive)
- Removedparse5-parser-stream@7.1.2(transitive)
- Removedproxy-from-env@1.1.0(transitive)
- Removedqs@6.14.0(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedside-channel@1.1.0(transitive)
- Removedside-channel-list@1.0.0(transitive)
- Removedside-channel-map@1.0.1(transitive)
- Removedside-channel-weakmap@1.0.2(transitive)
- Removedundici@6.21.0(transitive)
- Removedwhatwg-encoding@3.1.1(transitive)
- Removedwhatwg-mimetype@4.0.0(transitive)