teroboxdl
Version:
download terabox video via url
50 lines (36 loc) • 1.13 kB
Markdown
```sh
npm i teroboxdl
```
Get your apikey here: [https://zorner.men/](https://zorner.men)
```js
//teraboxdl
const { terabox } = require('teroboxdl');
const apikey = "YOU_APIKEY"
const url = 'https://terabox.com/s/117NfiRSK_e4ImEEDqQGh_g'
const results = await terabox(url, apikey);
console.log(results); //json
//OR
terabox(url, apikey).
then(result => {
console.log(result); //json
})
.catch(error => {
console.error(error);
});
```
```js
{
status: true,
creator: '@ZornerAPi',
result: {
filename: 'Người Phụ Nữ Hắc Ám 2 Thiên Sứ Tử Thần (2019).mp4',
size: '1494581198',
format: 'video',
link: 'https://data.terabox.com/thumbnail/cdf66c90b3a51a39395287f7ff005746?fid=4399332906414-250528-970904863198325&time=1733212800&rt=pr&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-gNDEDX6OVbxB7V4Lxs2gdYSMJH0%3D&expires=10y&chkv=0&chkbd=0&chkpc=&dp-logid=8985048797826961209&dp-callid=0&size=c850_u580&quality=100&vuk=4399332906414&ft=video'
}
}
```