mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-13 23:11:27 +03:00
Hotfix that allows playlists to be downloaded with categories
This commit is contained in:
@@ -1133,7 +1133,7 @@ async function downloadFileByURL_exec(url, type, options, sessionID = null) {
|
|||||||
return;
|
return;
|
||||||
} else if (info) {
|
} else if (info) {
|
||||||
// check if it fits into a category. If so, then get info again using new downloadConfig
|
// check if it fits into a category. If so, then get info again using new downloadConfig
|
||||||
category = await categories_api.categorize(info);
|
if (!Array.isArray(info)) category = await categories_api.categorize(info);
|
||||||
|
|
||||||
// set custom output if the category has one and re-retrieve info so the download manager has the right file name
|
// set custom output if the category has one and re-retrieve info so the download manager has the right file name
|
||||||
if (category && category['custom_output']) {
|
if (category && category['custom_output']) {
|
||||||
|
|||||||
Reference in New Issue
Block a user