randydev commited on
Commit
7611195
·
verified ·
1 Parent(s): b6522a6

Update plugins/alldownloader.js

Browse files
Files changed (1) hide show
  1. plugins/alldownloader.js +4 -1
plugins/alldownloader.js CHANGED
@@ -1,5 +1,4 @@
1
  import express from 'express';
2
- const { xnxxSearch, xnxxDownload } = 'xnxx-scraper';
3
  import {
4
  facebookdl,
5
  savefrom,
@@ -55,6 +54,7 @@ async function downloadMedia(media) {
55
  }
56
  }
57
 
 
58
  /**
59
  * @swagger
60
  * /api/v1/dl/xnxxsearch-v2:
@@ -84,6 +84,8 @@ async function downloadMedia(media) {
84
  * 500:
85
  * description: Internal Server Error
86
  */
 
 
87
  AllDlRoutes.get('/api/v1/dl/xnxxsearch-v2', authenticateApiKey, apiLimiter, async (req, res) => {
88
  try {
89
  const q = req.query.q;
@@ -97,6 +99,7 @@ AllDlRoutes.get('/api/v1/dl/xnxxsearch-v2', authenticateApiKey, apiLimiter, asyn
97
  res.status(500).json({ error: error.message });
98
  }
99
  });
 
100
 
101
  /**
102
  * @swagger
 
1
  import express from 'express';
 
2
  import {
3
  facebookdl,
4
  savefrom,
 
54
  }
55
  }
56
 
57
+
58
  /**
59
  * @swagger
60
  * /api/v1/dl/xnxxsearch-v2:
 
84
  * 500:
85
  * description: Internal Server Error
86
  */
87
+
88
+ /*
89
  AllDlRoutes.get('/api/v1/dl/xnxxsearch-v2', authenticateApiKey, apiLimiter, async (req, res) => {
90
  try {
91
  const q = req.query.q;
 
99
  res.status(500).json({ error: error.message });
100
  }
101
  });
102
+ */
103
 
104
  /**
105
  * @swagger