mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-22 14:23:19 +03:00
File formats are not searched anymore if video is a playlist. Prior to this they simply errored
This commit is contained in:
@@ -815,6 +815,10 @@ export class MainComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getURLInfo(url) {
|
getURLInfo(url) {
|
||||||
|
// if url is a youtube playlist, skip getting url info
|
||||||
|
if (url.includes('playlist')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!this.cachedAvailableFormats[url]) {
|
if (!this.cachedAvailableFormats[url]) {
|
||||||
this.cachedAvailableFormats[url] = {};
|
this.cachedAvailableFormats[url] = {};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user