Update lib/scrapper.js
Browse files- lib/scrapper.js +1 -1
lib/scrapper.js
CHANGED
@@ -27,7 +27,7 @@ const TiktokDownloader = async (url) => {
|
|
27 |
}
|
28 |
|
29 |
const apiUrl = `https://${config.TIKTOK_URL}/api/?url=${encodeURIComponent(url)}`;
|
30 |
-
|
31 |
const response = await axios.get(apiUrl, {
|
32 |
headers: { 'Content-Type': 'application/json' }
|
33 |
});
|
|
|
27 |
}
|
28 |
|
29 |
const apiUrl = `https://${config.TIKTOK_URL}/api/?url=${encodeURIComponent(url)}`;
|
30 |
+
console.log(apiUrl);
|
31 |
const response = await axios.get(apiUrl, {
|
32 |
headers: { 'Content-Type': 'application/json' }
|
33 |
});
|