mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-17 21:56:07 -04:00
Returns the first available format retrieved by youtubeDL
This commit is contained in:
@@ -9,4 +9,4 @@ def get_video_url(url):
|
||||
video = result['entries'][0]
|
||||
else:
|
||||
video = result
|
||||
return video["url"]
|
||||
return video["formats"][0]["url"]
|
||||
|
Reference in New Issue
Block a user