Update lib/all.js
Browse files- lib/all.js +8 -1
lib/all.js
CHANGED
@@ -13,6 +13,7 @@ import gifted from 'gifted-dls';
|
|
13 |
import { capcutdl } from '../lib/@randydev/capcut.js';
|
14 |
import { PinterestDownloader } from '../lib/@randydev/pinterest.js';
|
15 |
import { TeraboxDownloader, TeraboxV2Downloader } from '../lib/@randydev/terabox.js';
|
|
|
16 |
import {
|
17 |
TwitterDownloader,
|
18 |
InstagramDownloader,
|
@@ -20,6 +21,11 @@ import {
|
|
20 |
} from '../lib/scrapper.js';
|
21 |
import { trbtoken, trburl } from '../config.js';
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
export {
|
24 |
facebookdl,
|
25 |
savefrom,
|
@@ -42,5 +48,6 @@ export {
|
|
42 |
InstagramDownloader,
|
43 |
TeraboxDownloader,
|
44 |
TeraboxV2Downloader,
|
45 |
-
PinterestDownloader
|
|
|
46 |
};
|
|
|
13 |
import { capcutdl } from '../lib/@randydev/capcut.js';
|
14 |
import { PinterestDownloader } from '../lib/@randydev/pinterest.js';
|
15 |
import { TeraboxDownloader, TeraboxV2Downloader } from '../lib/@randydev/terabox.js';
|
16 |
+
import instagramGetUrl from "instagram-url-direct";
|
17 |
import {
|
18 |
TwitterDownloader,
|
19 |
InstagramDownloader,
|
|
|
21 |
} from '../lib/scrapper.js';
|
22 |
import { trbtoken, trburl } from '../config.js';
|
23 |
|
24 |
+
async function InstagramDLV2(url) {
|
25 |
+
const data = await instagramGetUrl(url);
|
26 |
+
return data;
|
27 |
+
}
|
28 |
+
|
29 |
export {
|
30 |
facebookdl,
|
31 |
savefrom,
|
|
|
48 |
InstagramDownloader,
|
49 |
TeraboxDownloader,
|
50 |
TeraboxV2Downloader,
|
51 |
+
PinterestDownloader,
|
52 |
+
InstagramDLV2,
|
53 |
};
|