This commit is contained in:
Kovid Goyal 2012-11-28 16:34:21 +05:30
commit 94fd7f7665
2 changed files with 2 additions and 1 deletions

View File

@ -1565,6 +1565,7 @@ class StorePublioStore(StoreBase):
headquarters = 'PL'
formats = ['EPUB', 'MOBI', 'PDF']
affiliate = True
class StoreRW2010Store(StoreBase):
name = 'RW2010'

View File

@ -56,7 +56,7 @@ class PublioStore(BasicStoreConfig, StorePlugin):
title2 = ''.join(data.xpath('.//div[@class="desc"]/h5/a/text()'))
if title2:
title = title + '. ' + title2
author = ', '.join(data.xpath('./div[@class="desc"]/div[@class="detailShortList"]/div[@class="row"]/a/text()'))
author = ', '.join(data.xpath('./div[@class="desc"]/div[@class="detailShortList"]/div[@class="row"][1]/a/@title'))
price = ''.join(data.xpath('.//div[@class="priceBoxContener "]/div/ins/text()'))
if not price:
price = ''.join(data.xpath('.//div[@class="priceBoxContener "]/div/text()'))