Avoid doubleslash and collateral 404

This commit is contained in:
Alex Stanev 2011-07-27 21:34:49 +03:00
parent 3739f8d1de
commit 519ee771b0

View File

@ -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: