From e3c0bca805f8b000ad0c4b3e87aa915595add70d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Kie=C5=82kowicz?= Date: Tue, 18 Feb 2014 18:34:09 +0100 Subject: [PATCH] Wolne Lektury - download fix --- src/calibre/gui2/store/stores/wolnelektury_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/store/stores/wolnelektury_plugin.py b/src/calibre/gui2/store/stores/wolnelektury_plugin.py index 0f53c95161..907ec01bff 100644 --- a/src/calibre/gui2/store/stores/wolnelektury_plugin.py +++ b/src/calibre/gui2/store/stores/wolnelektury_plugin.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import (unicode_literals, division, absolute_import, print_function) -store_version = 2 # Needed for dynamic plugin loading +store_version = 3 # Needed for dynamic plugin loading __license__ = 'GPL 3' __copyright__ = '2012-2014, Tomasz Długosz ' @@ -63,7 +63,7 @@ class WolneLekturyStore(BasicStoreConfig, StorePlugin): counter -= 1 s = SearchResult() - for link in data.xpath('.//div[@class="book-box-formats mono"]/span/a'): + for link in data.xpath('.//div[@class="book-box-formats"]/span/a'): ext = ''.join(link.xpath('./text()')) href = 'http://wolnelektury.pl' + link.get('href') s.downloads[ext] = href