rahad-media-downloader 2.1.4 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- 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);
|