mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Merge branch 'patch-1' of https://github.com/vszakats/calibre
This commit is contained in:
commit
7897c0c912
@ -188,9 +188,7 @@ def bing_search(terms, site=None, br=None, log=prints, safe_search=False, dump_r
|
||||
log('Ignoring {!r} as it has no cached page'.format(title))
|
||||
continue
|
||||
d, w = div.get('u').split('|')[-2:]
|
||||
# The bing cache does not have a valid https certificate currently
|
||||
# (March 2017)
|
||||
cached_url = 'http://cc.bingj.com/cache.aspx?q={q}&d={d}&mkt=en-US&setlang=en-US&w={w}'.format(
|
||||
cached_url = 'https://cc.bingj.com/cache.aspx?q={q}&d={d}&mkt=en-US&setlang=en-US&w={w}'.format(
|
||||
q=q, d=d, w=w)
|
||||
ans.append(Result(a.get('href'), title, cached_url))
|
||||
if not ans:
|
||||
|
Loading…
x
Reference in New Issue
Block a user