UNPKG

m2h-terabox

Version:

📥 A simple Terabox video downloader. No scraping required.

1 lines • 2.6 kB
function a0_0x8b17(){const _0x6fd317=['16XZRrbP','KzTXz','30YlkUod','8lSzatu','terabox-downloader-direct-download-link-generator2.p.rapidapi.com','https://t.me/m2hgamerz','Mozilla/5.0','4889898jMSxXN','get','data','4918470UugxJG','https://terabox-downloader-direct-download-link-generator2.p.rapidapi.com/url?url=','149804UVwDDk','application/json','1969264vKdrFE','message','1175909IlhtSt','14SznsfT','38366f243bmsh1d643a75ae7c31fp12c0f1jsn8531bc7308c8','2316666sYtdtH','aBXMS','m2hgamerz','rivDD','449583QknOjI','response','vghVu'];a0_0x8b17=function(){return _0x6fd317;};return a0_0x8b17();}(function(_0x4a4151,_0x8201e){const _0x55e674=a0_0x2fc2,_0x4f1b66=_0x4a4151();while(!![]){try{const _0x2e73dd=-parseInt(_0x55e674(0x142))/0x1+parseInt(_0x55e674(0x13e))/0x2+-parseInt(_0x55e674(0x149))/0x3*(-parseInt(_0x55e674(0x14f))/0x4)+-parseInt(_0x55e674(0x156))/0x5+parseInt(_0x55e674(0x145))/0x6*(parseInt(_0x55e674(0x143))/0x7)+-parseInt(_0x55e674(0x14c))/0x8*(-parseInt(_0x55e674(0x153))/0x9)+parseInt(_0x55e674(0x14e))/0xa*(parseInt(_0x55e674(0x140))/0xb);if(_0x2e73dd===_0x8201e)break;else _0x4f1b66['push'](_0x4f1b66['shift']());}catch(_0x25d222){_0x4f1b66['push'](_0x4f1b66['shift']());}}}(a0_0x8b17,0x9528f));function a0_0x2fc2(_0x5c2523,_0x1f402d){const _0x8b1720=a0_0x8b17();return a0_0x2fc2=function(_0x2fc284,_0x261e3f){_0x2fc284=_0x2fc284-0x13d;let _0x238fd7=_0x8b1720[_0x2fc284];return _0x238fd7;},a0_0x2fc2(_0x5c2523,_0x1f402d);}const axios=require('axios');async function getTeraboxDownloadLink(_0x3ceac6){const _0x2f16c2=a0_0x2fc2,_0x20a595={'GAtTU':function(_0x3e38f1,_0x407303){return _0x3e38f1(_0x407303);},'fcwzW':_0x2f16c2(0x152),'aBXMS':_0x2f16c2(0x150),'vghVu':_0x2f16c2(0x144),'rivDD':_0x2f16c2(0x147),'KzTXz':_0x2f16c2(0x151),'Epsan':'https://www.npmjs.com/package/m2h-terabox'};try{const _0x34ee08=_0x20a595['GAtTU'](encodeURIComponent,_0x3ceac6),_0x304a96=await axios[_0x2f16c2(0x154)](_0x2f16c2(0x13d)+_0x34ee08,{'headers':{'Accept':_0x2f16c2(0x13f),'User-Agent':_0x20a595['fcwzW'],'x-rapidapi-host':_0x20a595[_0x2f16c2(0x146)],'x-rapidapi-key':_0x20a595[_0x2f16c2(0x14b)]}});return{'developer':{'name':_0x20a595[_0x2f16c2(0x148)],'contact':_0x20a595[_0x2f16c2(0x14d)],'npm':_0x20a595['Epsan']},'result':_0x304a96[_0x2f16c2(0x155)]};}catch(_0x429949){return{'developer':{'name':_0x20a595[_0x2f16c2(0x148)],'contact':_0x20a595[_0x2f16c2(0x14d)],'npm':'https://www.npmjs.com/package/m2h-terabox'},'error':_0x429949[_0x2f16c2(0x14a)]?_0x429949[_0x2f16c2(0x14a)][_0x2f16c2(0x155)]:_0x429949[_0x2f16c2(0x141)]};}}module['exports']={'getTeraboxDownloadLink':getTeraboxDownloadLink};