From 888768e14f19098724bee1c06cfa610de124f1e9 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 12 May 2012 13:29:45 -0400 Subject: [PATCH] Store: Fix smashwords plugin. --- src/calibre/gui2/store/stores/smashwords_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/store/stores/smashwords_plugin.py b/src/calibre/gui2/store/stores/smashwords_plugin.py index 7a7e756a05..2c69417612 100644 --- a/src/calibre/gui2/store/stores/smashwords_plugin.py +++ b/src/calibre/gui2/store/stores/smashwords_plugin.py @@ -53,7 +53,7 @@ class SmashwordsStore(BasicStoreConfig, StorePlugin): counter = max_results with closing(br.open(url, timeout=timeout)) as f: doc = html.fromstring(f.read()) - for data in doc.xpath('//div[@id="pageCenterContent2"]//div[@class="bookCoverImg"]'): + for data in doc.xpath('//div[@id="pageCenterContent"]//div[@class="bookCoverImg"]'): if counter <= 0: break data = html.fromstring(html.tostring(data))