diff --git a/src/calibre/ebooks/metadata/sources/search_engines.py b/src/calibre/ebooks/metadata/sources/search_engines.py index d999fc0f91..67923f3801 100644 --- a/src/calibre/ebooks/metadata/sources/search_engines.py +++ b/src/calibre/ebooks/metadata/sources/search_engines.py @@ -88,7 +88,7 @@ def wayback_machine_cached_url(url, br=None, log=prints, timeout=60): try: closest = data['archived_snapshots']['closest'] if closest['available']: - return closest['url'] + return closest['url'].replace('http:', 'https:') except Exception: pass from pprint import pformat