From 06c7467e4aabb1cfb5ee33b8eab1954798bcacc1 Mon Sep 17 00:00:00 2001 From: marco <10120390+mac12m99@users.noreply.github.com> Date: Sun, 9 Jan 2022 17:56:22 +0100 Subject: [PATCH] ops --- channels/streamingcommunity.py | 1 - 1 file changed, 1 deletion(-) diff --git a/channels/streamingcommunity.py b/channels/streamingcommunity.py index 0affaba1..3bae0508 100644 --- a/channels/streamingcommunity.py +++ b/channels/streamingcommunity.py @@ -241,7 +241,6 @@ def play(item): return [] # Calculate Token - support.dbg() 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('/', '_')