rahad-media-downloader 2.1.4 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
@@ -110,13 +110,13 @@ main();
|
|
110
110
|
```
|
111
111
|
## Example (Instagram)
|
112
112
|
```js
|
113
|
-
const
|
113
|
+
const insta = require('rahad-media-downloader');
|
114
114
|
|
115
115
|
const instaUrl = 'https://www.instagram.com/reel/C5xU8OoRwdd/?igsh=MTM1MzF0M2szMTEwdg==';
|
116
116
|
|
117
117
|
async function main() {
|
118
118
|
try {
|
119
|
-
const result = await
|
119
|
+
const result = await insta.rahadinsta(instaUrl);
|
120
120
|
console.log(result);
|
121
121
|
} catch (error) {
|
122
122
|
console.error('Error:', error.message);
|