37 lines
1.6 KiB
JavaScript
Executable File
37 lines
1.6 KiB
JavaScript
Executable File
const axios = require('axios')
|
|
const tor_axios = require('tor-axios');
|
|
const tor = tor_axios.torSetup({
|
|
ip: process.env.TORSSRV,
|
|
port: 9050,
|
|
controlPort: 9051,
|
|
controlPassword: process.env.TORSPWD,
|
|
})
|
|
|
|
axios.defaults.timeout = 3000;
|
|
tor.defaults.timeout = 3000
|
|
|
|
const inst = axios.create({
|
|
httpAgent: tor.httpAgent(),
|
|
httpsagent: tor.httpsAgent(),
|
|
});
|
|
|
|
let axiosOptions = {
|
|
headers: {
|
|
'User-Agent': 'IPTV Smarters Pro'
|
|
}
|
|
}
|
|
|
|
async function newapkurlgrab() {
|
|
// data = "http://hello.exodus-2.xyz:8080/player_api.php?username=&password=https://1visions.co.uk:443/player_api.php?username=&password=http://dontsharefucker.party:80/player_api.php?username=&password=https://thepanel.pro:8443/player_api.php?username=&password=http://maximumorg.xyz:80/player_api.php?username=&password=http://sulu.xyz:2086/player_api.php?username=&password=http://xtv.ooo:8080/player_api.php?username=&password=http://line.rs4ott.com/player_api.php?username=&password=http://line.ottcdn.net:80/player_api.php?username=&password=http://b1g.ooo:80/player_api.php?username=&password=https://chips-and-rise.fun:443/player_api.php?username=&password=http://net.azers.online:2082/player_api.php?username=&password="
|
|
let ip = await inst.get('http://api.ipify.org')
|
|
console.log(ip.data);
|
|
let query = await inst.get('https://razzlertv.xyz/customers/scotslad/onepanel/proxy/player_api.php?username=&password= ')
|
|
// console.log(query.data);
|
|
let a = query.data.split('/player_api.php?username=&password=')
|
|
console.log(a)
|
|
return a
|
|
}
|
|
|
|
module.exports = {
|
|
newapkurlgrab
|
|
} |