From 3c239dfc833120d07bc09e4e38e0e0adbc8ce460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Wed, 6 Jan 2016 01:06:22 +0100 Subject: [PATCH] cdp plugin: dropping items by link is obsolete now --- src/calibre/gui2/store/stores/cdp_plugin.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/calibre/gui2/store/stores/cdp_plugin.py b/src/calibre/gui2/store/stores/cdp_plugin.py index 56843ebc0e..ee9093c16a 100644 --- a/src/calibre/gui2/store/stores/cdp_plugin.py +++ b/src/calibre/gui2/store/stores/cdp_plugin.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- from __future__ import (unicode_literals, division, absolute_import, print_function) -store_version = 7 # Needed for dynamic plugin loading +store_version = 8 # Needed for dynamic plugin loading __license__ = 'GPL 3' -__copyright__ = '2013-2015, Tomasz Długosz ' +__copyright__ = '2013-2016, Tomasz Długosz ' __docformat__ = 'restructuredtext en' import urllib @@ -59,8 +59,6 @@ class CdpStore(BasicStoreConfig, StorePlugin): id = ''.join(data.xpath('.//a[@class="product-image"]/@href')) if not id: continue - if 'ksiazki' not in id: - continue cover_url = ''.join(data.xpath('.//a[@class="product-image"]/img/@data-src')) title = ''.join(data.xpath('.//h3[1]/a/@title'))