From cd9a162fb50b775f8899b9642c99fb6598edc1b1 Mon Sep 17 00:00:00 2001 From: marco <10120390+mac12m99@users.noreply.github.com> Date: Sun, 9 Jan 2022 17:39:12 +0100 Subject: [PATCH] Fix streamingcommunity --- channels/streamingcommunity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/streamingcommunity.py b/channels/streamingcommunity.py index dc3849d4..0c997caa 100644 --- a/channels/streamingcommunity.py +++ b/channels/streamingcommunity.py @@ -227,7 +227,7 @@ def play(item): return [] # Calculate Token - client_ip = support.httptools.downloadpage('https://scws.xyz/videos/' + scws_id, headers=headers).json.get('client_ip') + client_ip = support.httptools.downloadpage('https://scws.xyz/videos/' + scws_id).json.get('client_ip') expires = int(time() + 172800) token = b64encode(md5('{}{} Yc8U6r8KjAKAepEA'.format(expires, client_ip).encode('utf-8')).digest()).decode('utf-8').replace('=', '').replace('+', '-').replace('/', '_')