update Woblink store

This commit is contained in:
Tomasz Długosz 2011-09-21 21:10:24 +02:00
parent 2bc13c3fad
commit 197b99c1e8

View File

@ -56,7 +56,7 @@ class WoblinkStore(BasicStoreConfig, StorePlugin):
continue
cover_url = ''.join(data.xpath('.//td[@class="w10 va-t"]/a[1]/img/@src'))
title = ''.join(data.xpath('.//h3[@class="title"]/a[1]/text()'))
title = ''.join(data.xpath('.//h2[@class="title"]/a[1]/text()'))
author = ', '.join(data.xpath('.//p[@class="author"]/a/text()'))
price = ''.join(data.xpath('.//div[@class="prices"]/p[1]/span/text()'))
price = re.sub('PLN', '', price)