From 765296c2adf3927755a32331fc2b66c25720a955 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Oct 2012 21:37:07 +0530 Subject: [PATCH] Get Books: Handle website change that broke the SONY Store plugin --- src/calibre/gui2/store/stores/sony_plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/gui2/store/stores/sony_plugin.py b/src/calibre/gui2/store/stores/sony_plugin.py index 2ad344e82c..aa0c65bcde 100644 --- a/src/calibre/gui2/store/stores/sony_plugin.py +++ b/src/calibre/gui2/store/stores/sony_plugin.py @@ -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