pass on timeout

This commit is contained in:
j 2010-12-27 18:56:11 +05:30
commit c09c6c156c
2 changed files with 5 additions and 1 deletions

View file

@ -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