mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get Books: Handle website change that broke the SONY Store plugin
This commit is contained in:
parent
76312ec4e7
commit
765296c2ad
@ -66,6 +66,8 @@ class SonyStore(BasicStoreConfig, StorePlugin):
|
||||
detail_url = ''.join(item.xpath('descendant::h3[@class="item"]'
|
||||
'/descendant::a[@class="fn" and @href]/@href'))
|
||||
if not detail_url: continue
|
||||
if detail_url.startswith('/'):
|
||||
detail_url = 'http:'+detail_url
|
||||
s.detail_item = detail_url
|
||||
|
||||
counter -= 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user