randydev commited on
Commit
7a5add6
·
verified ·
1 Parent(s): dba24db

Update lib/@randydev/terabox.js

Browse files
Files changed (1) hide show
  1. lib/@randydev/terabox.js +1 -2
lib/@randydev/terabox.js CHANGED
@@ -11,13 +11,12 @@ async function TeraboxDownloader(url) {
11
  'Content-Type': 'application/json'
12
  },
13
  data: {
14
- url: 'https://www.terabox.app/sharing/link?surl=nplD_s47LNg2BEINC-eR0g'
15
  }
16
  };
17
  try {
18
  const response = await axios.request(options);
19
  return response.data;
20
- console.log(response.data);
21
  } catch (error) {
22
  console.error(error);
23
  return null;
 
11
  'Content-Type': 'application/json'
12
  },
13
  data: {
14
+ url: url
15
  }
16
  };
17
  try {
18
  const response = await axios.request(options);
19
  return response.data;
 
20
  } catch (error) {
21
  console.error(error);
22
  return null;