diff --git a/backend/config.py b/backend/config.py index 95c64fc..ea0ddfd 100644 --- a/backend/config.py +++ b/backend/config.py @@ -115,9 +115,7 @@ class ProxyElem: try: async with self.local() as session: - logger.info(request_data.json()) - logger.info(request_data) - resp = await session.post(proxy_server, json=request_data.dict()) + resp = await session.post(proxy_server, json=json.loads(request_data.json())) response_data = cast( ProxyResponse, ProxyResponse.parse_raw(await resp.text()) ) @@ -224,9 +222,6 @@ for proxy_provider in proxies.values(): streamlink_sessions[proxy_elem.proxy].set_option( "http-proxy", "socks5://" + proxy_elem.proxy ) - streamlink_sessions[proxy_elem.proxy].set_option( - "https-proxy", "socks5://" + proxy_elem.proxy - ) if icecast_server is not None and stream_server is not None: try: