diff --git a/r2/r2/lib/utils/utils.py b/r2/r2/lib/utils/utils.py index b317b657d..828f7685f 100644 --- a/r2/r2/lib/utils/utils.py +++ b/r2/r2/lib/utils/utils.py @@ -233,7 +233,7 @@ def path_component(s): def get_title(url): """Fetches the contents of url and extracts (and utf-8 encodes) the contents of """ - if not url or not url.startswith('http://'): + if not url or not (url.startswith('http://') or url.startswith('https://')): return None try: