mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
simplify url generation
This commit is contained in:
parent
33d00175e0
commit
6d55cf1e42
@ -43,9 +43,9 @@ class WoblinkStore(BasicStoreConfig, StorePlugin):
|
||||
url = 'http://woblink.com/publication?query=' + urllib.quote_plus(query.encode('utf-8'))
|
||||
if max_results > 10:
|
||||
if max_results > 20:
|
||||
url += '&limit=' + str(30)
|
||||
url += '&limit=30'
|
||||
else:
|
||||
url += '&limit=' + str(20)
|
||||
url += '&limit=20'
|
||||
|
||||
br = browser()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user