From cdff3c8cb7bf50aa97e9c6467f97e04423a6e8c5 Mon Sep 17 00:00:00 2001 From: Charles Haley Date: Tue, 31 Dec 2013 12:51:43 +0100 Subject: [PATCH] Nook UK has cancelled their affiliate program. --- src/calibre/customize/builtins.py | 1 - src/calibre/gui2/store/stores/nook_uk_plugin.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/calibre/customize/builtins.py b/src/calibre/customize/builtins.py index 0cd77b1e0e..b77f841d99 100644 --- a/src/calibre/customize/builtins.py +++ b/src/calibre/customize/builtins.py @@ -1599,7 +1599,6 @@ class StoreNookUKStore(StoreBase): headquarters = 'UK' formats = ['NOOK'] - affiliate = True class StoreOpenBooksStore(StoreBase): name = 'Open Books' diff --git a/src/calibre/gui2/store/stores/nook_uk_plugin.py b/src/calibre/gui2/store/stores/nook_uk_plugin.py index d2e352d1e8..493276f80d 100644 --- a/src/calibre/gui2/store/stores/nook_uk_plugin.py +++ b/src/calibre/gui2/store/stores/nook_uk_plugin.py @@ -25,8 +25,8 @@ from calibre.gui2.store.web_store_dialog import WebStoreDialog class NookUKStore(BasicStoreConfig, StorePlugin): def open(self, parent=None, detail_item=None, external=False): - url = 'http://www.awin1.com/awclick.php?mid=5266&id=120917' - detail_url = 'http://www.awin1.com/cread.php?awinmid=5266&awinaffid=120917&clickref=&p=' + url = 'http://www.nook.com/gb/store' + detail_url = '' if external or self.config.get('open_external', False): if detail_item: