fix fillobj on video thumbnail
This commit is contained in:
parent
768be7fcc6
commit
7339258978
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ class YoujizzModule(Module, CapVideo, CapCollection):
|
|||
# if we don't want only the thumbnail, we probably want also every fields
|
||||
video = self.browser.get_video(video.id, video)
|
||||
if 'thumbnail' in fields and video.thumbnail:
|
||||
video.thumbnail.data = self.browser.readurl(video.thumbnail.url)
|
||||
video.thumbnail.data = self.browser.open(video.thumbnail.url).content
|
||||
|
||||
return video
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue