Merge changes from lp:~tomek3d/calibre/stores

This commit is contained in:
John Schember 2011-07-11 16:29:43 -04:00
commit bac235e4d3

View File

@ -60,8 +60,7 @@ class LegimiStore(BasicStoreConfig, StorePlugin):
author = ''.join(data.xpath('.//div[@class="item_entries"]/span[1]/a/text()')) author = ''.join(data.xpath('.//div[@class="item_entries"]/span[1]/a/text()'))
author = re.sub(',','',author) author = re.sub(',','',author)
author = re.sub(';',',',author) author = re.sub(';',',',author)
price = ''.join(data.xpath('.//div[@class="item_entries"]/span[3]/text()')) price = ''.join(data.xpath('.//span[@class="ebook_price"]/text()'))
price = re.sub(r'[^0-9,]*','',price) + ''
counter -= 1 counter -= 1