do not call id2url too early
This commit is contained in:
parent
e980e040ba
commit
d27b28d24e
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class YoutubeBackend(BaseBackend, ICapVideo):
|
|||
# if we don't want only the thumbnail, we probably want also every fields
|
||||
with self.browser:
|
||||
try:
|
||||
video = self.browser.get_video(YoutubeVideo.id2url(video.id), video)
|
||||
video = self.browser.get_video(video.id, video)
|
||||
except ForbiddenVideo, e:
|
||||
raise ObjectNotAvailable(e)
|
||||
if 'thumbnail' in fields:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue