mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Avoid doubleslash and collateral 404
This commit is contained in:
parent
3739f8d1de
commit
519ee771b0
@ -97,7 +97,7 @@ class SmashwordsStore(BasicStoreConfig, StorePlugin):
|
|||||||
yield s
|
yield s
|
||||||
|
|
||||||
def get_details(self, search_result, timeout):
|
def get_details(self, search_result, timeout):
|
||||||
url = 'http://www.smashwords.com/'
|
url = 'http://www.smashwords.com'
|
||||||
|
|
||||||
br = browser()
|
br = browser()
|
||||||
with closing(br.open(url + search_result.detail_item, timeout=timeout)) as nf:
|
with closing(br.open(url + search_result.detail_item, timeout=timeout)) as nf:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user