From: Antonio Ospite Date: Wed, 29 Nov 2017 14:59:54 +0000 (+0100) Subject: Add support for the "aesgcm://" scheme used by Conversations X-Git-Url: https://git.ao2.it/conversations_http_downloader.git/commitdiff_plain/752c4dc3504fa222cc69e775395dd0e558fd7154 Add support for the "aesgcm://" scheme used by Conversations --- diff --git a/conversations_http_downloader.py b/conversations_http_downloader.py index 70cdbd9..dde1a4d 100755 --- a/conversations_http_downloader.py +++ b/conversations_http_downloader.py @@ -62,6 +62,9 @@ def main(): url = sys.argv[1] + if url.startswith("aesgcm://"): + url = "https://" + url[len("aesgcm://"):] + parsed_url = urllib.parse.urlparse(url) anchor = parsed_url.fragment