Update lib/all.js
Browse files- lib/all.js +4 -4
lib/all.js
CHANGED
@@ -13,7 +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 * as
|
17 |
|
18 |
import { igdl } from 'ruhend-scraper'
|
19 |
|
@@ -28,9 +28,9 @@ import {
|
|
28 |
import { trbtoken, trburl } from '../config.js';
|
29 |
|
30 |
async function InstagramDLV2(url) {
|
31 |
-
|
32 |
-
console.log(
|
33 |
-
return
|
34 |
}
|
35 |
|
36 |
async function InstagramDLV3(url) {
|
|
|
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 * as igdlv2 from "instagram-url-direct";
|
17 |
|
18 |
import { igdl } from 'ruhend-scraper'
|
19 |
|
|
|
28 |
import { trbtoken, trburl } from '../config.js';
|
29 |
|
30 |
async function InstagramDLV2(url) {
|
31 |
+
const data = await igdlv2.instagramGetUrl(url);
|
32 |
+
console.log(data);
|
33 |
+
return data;
|
34 |
}
|
35 |
|
36 |
async function InstagramDLV3(url) {
|