From 82e62e652882c350116643f1e4522a7fc2ce6e7a Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Fri, 25 Jan 2013 16:10:14 +0100 Subject: [PATCH] Fix to beam_ebooks to honor the max_count parameter --- src/calibre/gui2/store/stores/beam_ebooks_de_plugin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/store/stores/beam_ebooks_de_plugin.py b/src/calibre/gui2/store/stores/beam_ebooks_de_plugin.py index 7a35b91fc3..ada35baa0e 100644 --- a/src/calibre/gui2/store/stores/beam_ebooks_de_plugin.py +++ b/src/calibre/gui2/store/stores/beam_ebooks_de_plugin.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- from __future__ import (unicode_literals, division, absolute_import, print_function) -store_version = 1 # Needed for dynamic plugin loading +store_version = 2 # Needed for dynamic plugin loading __license__ = 'GPL 3' __copyright__ = '2011, John Schember ' @@ -43,7 +43,8 @@ class BeamEBooksDEStore(BasicStoreConfig, StorePlugin): d.exec_() def search(self, query, max_results=10, timeout=60): - url = 'http://www.beam-ebooks.de/suchergebnis.php?Type=&sw=' + urllib2.quote(query) + url = 'http://www.beam-ebooks.de/suchergebnis.php?Type=&limit={0}&sw={1}'.format( + max_results, urllib2.quote(query)) br = browser() counter = max_results