fix: key error
This commit is contained in:
parent
d85498869d
commit
55024bd987
@ -739,7 +739,7 @@ class YoutubeMusic(SuperYouTube):
|
|||||||
headers=media.get("headers", {}),
|
headers=media.get("headers", {}),
|
||||||
chunk_size=main_settings["chunk_size"],
|
chunk_size=main_settings["chunk_size"],
|
||||||
method="GET",
|
method="GET",
|
||||||
timeout=main_settings["timeout"] * 3,
|
timeout=5,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
result = DownloadResult(error_message=str(media.get("error") or self.not_download[source.hash_url]))
|
result = DownloadResult(error_message=str(media.get("error") or self.not_download[source.hash_url]))
|
||||||
|
Loading…
Reference in New Issue
Block a user