mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge changes from lp:~tomek3d/calibre/stores
This commit is contained in:
commit
bac235e4d3
@ -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) + ' zł'
|
|
||||||
|
|
||||||
counter -= 1
|
counter -= 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user