diff --git a/run.py b/run.py index 236cd3e..b0b541d 100644 --- a/run.py +++ b/run.py @@ -176,7 +176,7 @@ async def addon_stream(request: Request,config, type, id,): streams['streams'].append({ 'title': f"Server {i} " + f" "+ channel['name'] + " " + channel['title'] , 'url': channel['url'] - }) + }) if id in okru: i = i+1 channel_url = await okru_get_url(id,client) @@ -224,7 +224,8 @@ async def addon_stream(request: Request,config, type, id,): SC_FAST_SEARCH = provider_maps['SC_FAST_SEARCH'] url_streaming_community,url_720_streaming_community,quality_sc = await streaming_community(id,client,SC_FAST_SEARCH) if url_streaming_community is not None: - print(f"StreamingCommunity Found Results for {id}") + response = await client.get("https://api.ipify.org?format=json") + print(f"StreamingCommunity Found Results for {id}",response.json()) if quality_sc == "1080": streams['streams'].append({'title': f'{HF}StreamingCommunity 1080p Max', 'url': url_streaming_community}) streams['streams'].append({'title': f'{HF}StreamingCommunity 720p Max', 'url': url_720_streaming_community})