Skip to content

Commit

Permalink
Create xnxxs.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ERLANRAHMAT authored Nov 25, 2023
1 parent c755fbb commit 3c578b2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tools/download/xnxxs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
Tools Xnxx Search
*/

const axios = require('axios');
const { baseUrl } = require('../config.js')

async function xnxxs(q) {
try {
const { data } = await axios.get(`${baseUrl}/tools/xnxxsearch?q=${q}`, {
headers: {
'accept': 'application/json',
},
});
return data;
} catch (error) {
console.error(error);
return 'Internal Server Error!';
}
}

module.exports = { xnxxs }

0 comments on commit 3c578b2

Please sign in to comment.