From 41599b2beb58f2837ad5b591e6952915032789e9 Mon Sep 17 00:00:00 2001 From: Alexandre Morignot Date: Wed, 12 Aug 2015 20:57:10 +0200 Subject: [PATCH] [ehentai] there is no more description available --- modules/ehentai/pages.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/ehentai/pages.py b/modules/ehentai/pages.py index 8cab63e9..be367b4f 100644 --- a/modules/ehentai/pages.py +++ b/modules/ehentai/pages.py @@ -67,9 +67,6 @@ class GalleryPage(Page): def fill_gallery(self, gallery): gallery.title = self.document.xpath("//h1[@id='gn']/text()")[0] - description_div = self.document.xpath("//div[@id='gd71']")[0] - description_html = self.parser.tostring(description_div) - gallery.description = html2text(description_html) cardinality_string = self.document.xpath("//div[@id='gdd']//tr[td[@class='gdt1']/text()='Images:']/td[@class='gdt2']/text()")[0] gallery.cardinality = int(re.match(r"\d+", cardinality_string).group(0)) date_string = self.document.xpath("//div[@id='gdd']//tr[td[@class='gdt1']/text()='Posted:']/td[@class='gdt2']/text()")[0]