Update lib/all.js
Browse files- lib/all.js +0 -16
lib/all.js
CHANGED
@@ -18,7 +18,6 @@ import { TeraboxDownloader, TeraboxV2Downloader, TeraboxV3Downloader } from '../
|
|
18 |
import * as igdlv2 from "instagram-url-direct";
|
19 |
import * as xpro from 'xnxx-scraper';
|
20 |
import * as happykntl from 'happy-dl';
|
21 |
-
import * as lubacotscaper from "scraper-sosmed";
|
22 |
|
23 |
import { igdl } from 'ruhend-scraper';
|
24 |
import fs from "fs";
|
@@ -158,20 +157,6 @@ function generateRandomTimestamp() {
|
|
158 |
return Math.floor(Math.random() * (end - start) + start);
|
159 |
}
|
160 |
|
161 |
-
async function TwitterDownloaderV2(url) {
|
162 |
-
try {
|
163 |
-
const result = await lubacotscaper.default.twdl(url);
|
164 |
-
if (typeof result === "object") {
|
165 |
-
result.owner = "xtdevs";
|
166 |
-
delete result.issues;
|
167 |
-
return result;
|
168 |
-
}
|
169 |
-
} catch (error) {
|
170 |
-
console.error("Error fetching data:", error.message);
|
171 |
-
return null;
|
172 |
-
}
|
173 |
-
}
|
174 |
-
|
175 |
// please don't share here via API you need
|
176 |
async function TeraboxV4Downloader(url) {
|
177 |
try {
|
@@ -231,7 +216,6 @@ export {
|
|
231 |
XnxxDownloader,
|
232 |
TiktokDownloader,
|
233 |
TwitterDownloader,
|
234 |
-
TwitterDownloaderV2,
|
235 |
TwitterDownloderV3,
|
236 |
TeraboxDownloader,
|
237 |
TeraboxV2Downloader,
|
|
|
18 |
import * as igdlv2 from "instagram-url-direct";
|
19 |
import * as xpro from 'xnxx-scraper';
|
20 |
import * as happykntl from 'happy-dl';
|
|
|
21 |
|
22 |
import { igdl } from 'ruhend-scraper';
|
23 |
import fs from "fs";
|
|
|
157 |
return Math.floor(Math.random() * (end - start) + start);
|
158 |
}
|
159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
// please don't share here via API you need
|
161 |
async function TeraboxV4Downloader(url) {
|
162 |
try {
|
|
|
216 |
XnxxDownloader,
|
217 |
TiktokDownloader,
|
218 |
TwitterDownloader,
|
|
|
219 |
TwitterDownloderV3,
|
220 |
TeraboxDownloader,
|
221 |
TeraboxV2Downloader,
|