[ideel] Boldly scrape the orders which no man has scraped before. Fixes #1817

This commit is contained in:
Oleg Plakhotniuk 2015-03-30 21:36:35 -05:00 committed by Romain Bignon
commit 40d44c32fd

View file

@ -73,7 +73,7 @@ class OrderPage(IdeelPage):
def items(self): def items(self):
for tr in self.doc.xpath('//table[contains(@class,"items_table")]' for tr in self.doc.xpath('//table[contains(@class,"items_table")]'
'/tr[td[@class="items_desc"]]'): '//tr[td[@class="items_desc"]]'):
label = tr.xpath('*//div[@class="item_desc"]//span/text()')[0] label = tr.xpath('*//div[@class="item_desc"]//span/text()')[0]
url = tr.xpath('*//div[@class="item_img"]//@src')[0] url = tr.xpath('*//div[@class="item_img"]//@src')[0]
onclk = tr.xpath('*//div[@class="item_img"]//@onclick') onclk = tr.xpath('*//div[@class="item_img"]//@onclick')