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/HEAD?ds=inline;hp=4321b5850bf6e555bcec39e7fb9bd3790f1b1377 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