mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-06 15:51:29 +03:00
Hotfix for bug that prevented large twitch videos from downloading
This commit is contained in:
@@ -1892,7 +1892,7 @@ app.post('/api/tomp4', optionalJwt, async function(req, res) {
|
|||||||
|
|
||||||
const is_playlist = url.includes('playlist');
|
const is_playlist = url.includes('playlist');
|
||||||
let result_obj = null;
|
let result_obj = null;
|
||||||
if (is_playlist || options.customQualityConfiguration || options.customArgs || options.selectedHeight)
|
if (is_playlist || options.customQualityConfiguration || options.customArgs || options.selectedHeight || url.includes('twitch'))
|
||||||
result_obj = await downloadFileByURL_exec(url, 'video', options, req.query.sessionID);
|
result_obj = await downloadFileByURL_exec(url, 'video', options, req.query.sessionID);
|
||||||
else
|
else
|
||||||
result_obj = await downloadFileByURL_normal(url, 'video', options, req.query.sessionID);
|
result_obj = await downloadFileByURL_normal(url, 'video', options, req.query.sessionID);
|
||||||
|
|||||||
Reference in New Issue
Block a user