From 35dfb940c8ae1a1cc6f1d81e0110c420027c2406 Mon Sep 17 00:00:00 2001 From: Vincent Texier Date: Sun, 22 Dec 2013 15:14:54 +0100 Subject: [PATCH] Fix bug thumbnail field always return "spacer.gif" in youjizz module --- modules/youjizz/pages/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/youjizz/pages/index.py b/modules/youjizz/pages/index.py index 8a5674ab..a2bea4a4 100644 --- a/modules/youjizz/pages/index.py +++ b/modules/youjizz/pages/index.py @@ -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)