fix: timeout for yt music stream
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Hazel 2024-05-13 13:39:57 +02:00
parent 788103a68e
commit c3350b016d

View File

@ -739,6 +739,7 @@ class YoutubeMusic(SuperYouTube):
headers=media.get("headers", {}),
chunk_size=main_settings["chunk_size"],
method="GET",
timeout=main_settings["timeout"] * 3,
)
else:
result = DownloadResult(error_message=str(media.get("error") or self.not_download[source.hash_url]))