Update lib/all.js
Browse files- lib/all.js +1 -1
lib/all.js
CHANGED
@@ -181,7 +181,7 @@ async function TeraboxV4Downloader(url) {
|
|
181 |
"Referer": `https://teraboxdownloaderonline.com/player?url=${encodeURIComponent(url)}`,
|
182 |
};
|
183 |
const response = await axios.get(apiUrl, { headers });
|
184 |
-
const dataString = response.data;
|
185 |
const match = dataString.match(/#EXTINF:\d+,\s*(https[^\s]+)/);
|
186 |
|
187 |
if (match && match[1]) {
|
|
|
181 |
"Referer": `https://teraboxdownloaderonline.com/player?url=${encodeURIComponent(url)}`,
|
182 |
};
|
183 |
const response = await axios.get(apiUrl, { headers });
|
184 |
+
const dataString = JSON.stringify(response.data);
|
185 |
const match = dataString.match(/#EXTINF:\d+,\s*(https[^\s]+)/);
|
186 |
|
187 |
if (match && match[1]) {
|