
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
ig-downloader
Advanced tools
Node.js library for downloading and processing Instagram media data such as reels, posts, and stories with ease.
[!CAUTION] This library is no longer available because the API provider for this library is no longer working properly. Please check out the all-downloader library which supports video downloads for more sites. Please check out the all-downloader library which supports video downloads for more sites.
ig-downloader
is a powerful Node.js library for downloading and processing Instagram media data such as reels, posts, and stories with ease. 🚀
Install the library via npm
or yarn
:
# Using npm
npm install ig-downloader
# Using yarn
yarn add ig-downloader
const IgDownloader = require("ig-downloader").IgDownloader;
const urls = [
"https://www.instagram.com/p/DD6_fC1TkcK/?utm_source=ig_web_copy_link",
];
const fetchInstagramData = async () => {
for (const url of urls) {
try {
console.log(`Fetching data for: ${url}`);
const data = await IgDownloader(url);
console.log("Instagram Data:", data);
} catch (error) {
console.error(`Error fetching data for ${url}:`, error.message);
}
}
};
fetchInstagramData();
import { IgDownloader } from "ig-downloader";
const urls = [
"https://www.instagram.com/p/DD6_fC1TkcK/?utm_source=ig_web_copy_link",
];
const fetchInstagramData = async () => {
for (const url of urls) {
try {
console.log(`Fetching data for: ${url}`);
const data = await IgDownloader(url);
console.log("Instagram Data:", data);
} catch (error) {
console.error(`Error fetching data for ${url}:`, error.message);
}
}
};
fetchInstagramData();
Feature | Description |
---|---|
Support for Posts & Reels | Works seamlessly with Instagram posts and reels. |
Error Handling | Handles invalid URLs and other API errors gracefully. |
TypeScript Support | Fully typed API for enhanced development experience. |
Run all unit tests with Jest:
yarn test
Generate Typedoc documentation:
yarn docs
Run example usage scripts:
yarn example
Contributions are welcome! If you'd like to contribute, feel free to open an issue or submit a pull request. Make sure to follow the contribution guidelines. ❤️
This project is licensed under the MIT License. See the license file for details.
For questions or support, reach out via:
Feel free to adapt this template to your specific needs. If you want, you can replace the GIF link with a relevant GIF or badge for your project! 🚀
FAQs
Node.js library for downloading and processing Instagram media data such as reels, posts, and stories with ease.
The npm package ig-downloader receives a total of 49 weekly downloads. As such, ig-downloader popularity was classified as not popular.
We found that ig-downloader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.