pass on timeout
This commit is contained in:
parent
2a7e415271
commit
c09c6c156c
2 changed files with 5 additions and 1 deletions
|
|
@ -23,6 +23,10 @@ def getVideoKey(youtubeId, timeout=cache_timeout):
|
|||
return False
|
||||
|
||||
def getVideoUrl(youtubeId, format='mp4', timeout=cache_timeout):
|
||||
"""
|
||||
youtubeId - if of video
|
||||
format - video format, options: webm, 1080p, 720p, mp4, high
|
||||
"""
|
||||
youtubeKey = getVideoKey(youtubeId, timeout=timeout)
|
||||
|
||||
fmt = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue