mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-19 16:54:36 +01:00
Avoid doubleslash and collateral 404
This commit is contained in:
parent
3739f8d1de
commit
519ee771b0
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ def search(self, query, max_results=10, timeout=60):
|
|||
yield s
|
||||
|
||||
def get_details(self, search_result, timeout):
|
||||
url = 'http://www.smashwords.com/'
|
||||
url = 'http://www.smashwords.com'
|
||||
|
||||
br = browser()
|
||||
with closing(br.open(url + search_result.detail_item, timeout=timeout)) as nf:
|
||||
|
|
|
|||
Loading…
Reference in a new issue