Fix bug thumbnail field always return "spacer.gif" in youjizz module
This commit is contained in:
parent
148f6f3a2b
commit
35dfb940c8
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class IndexPage(BasePage):
|
|||
|
||||
video = YoujizzVideo(_id)
|
||||
|
||||
video.thumbnail = BaseImage(span.find('.//img').attrib['src'])
|
||||
video.thumbnail = BaseImage(span.find('.//img').attrib['data-original'])
|
||||
video.thumbnail.url = video.thumbnail.id
|
||||
|
||||
title_el = self.parser.select(span, 'span#title1', 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue