ok
Browse files- lib/all.js +1 -1
- plugins/alldownloader.js +1 -0
lib/all.js
CHANGED
@@ -124,7 +124,7 @@ function generateRandomTimestamp() {
|
|
124 |
return Math.floor(Math.random() * (end - start) + start);
|
125 |
}
|
126 |
|
127 |
-
async function FBDownloaderV2(
|
128 |
console.log(lubacotscaper);
|
129 |
return {"status": "ok"};
|
130 |
}
|
|
|
124 |
return Math.floor(Math.random() * (end - start) + start);
|
125 |
}
|
126 |
|
127 |
+
async function FBDownloaderV2() {
|
128 |
console.log(lubacotscaper);
|
129 |
return {"status": "ok"};
|
130 |
}
|
plugins/alldownloader.js
CHANGED
@@ -66,6 +66,7 @@ async function downloadMedia(media) {
|
|
66 |
AllDlRoutes.get('/api/v1/dl/fb-v2', async (req, res) => {
|
67 |
try {
|
68 |
// const q = req.query.url;
|
|
|
69 |
res.json({ message: results });
|
70 |
} catch (error) {
|
71 |
res.status(500).json({ error: error.message });
|
|
|
66 |
AllDlRoutes.get('/api/v1/dl/fb-v2', async (req, res) => {
|
67 |
try {
|
68 |
// const q = req.query.url;
|
69 |
+
results = await FBDownloaderV2();
|
70 |
res.json({ message: results });
|
71 |
} catch (error) {
|
72 |
res.status(500).json({ error: error.message });
|