mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Returns the first available format retrieved by youtubeDL
This commit is contained in:
parent
ba1bcd550d
commit
2620348573
@ -9,4 +9,4 @@ def get_video_url(url):
|
|||||||
video = result['entries'][0]
|
video = result['entries'][0]
|
||||||
else:
|
else:
|
||||||
video = result
|
video = result
|
||||||
return video["url"]
|
return video["formats"][0]["url"]
|
||||||
|
Loading…
Reference in New Issue
Block a user