randydev commited on
Commit
adaa5d7
·
verified ·
1 Parent(s): 290faa0
Files changed (1) hide show
  1. lib/scrapper.js +1 -1
lib/scrapper.js CHANGED
@@ -23,7 +23,7 @@ const AuthorOriginal = function (response) {
23
  const TiktokDownloader = async (url) => {
24
  try {
25
  const urls = `${config.TIKTOK_URL}/api/?url=${url}`;
26
- const response = await axios.get(url, { headers: {'Content-Type': 'application/json'} });
27
  return response.data;
28
  } catch (error) {
29
  console.error("Error:", e.message);
 
23
  const TiktokDownloader = async (url) => {
24
  try {
25
  const urls = `${config.TIKTOK_URL}/api/?url=${url}`;
26
+ const response = await axios.get(urls, { headers: {'Content-Type': 'application/json'} });
27
  return response.data;
28
  } catch (error) {
29
  console.error("Error:", e.message);