This commit is contained in:
UrloMythus
2024-09-05 16:09:56 +02:00 Unverified
parent 1bd7e6cc51
commit 1065bccd15
+3 -2
View File
@@ -176,7 +176,7 @@ async def addon_stream(request: Request,config, type, id,):
streams['streams'].append({ streams['streams'].append({
'title': f"Server {i} " + f" "+ channel['name'] + " " + channel['title'] , 'title': f"Server {i} " + f" "+ channel['name'] + " " + channel['title'] ,
'url': channel['url'] 'url': channel['url']
}) })
if id in okru: if id in okru:
i = i+1 i = i+1
channel_url = await okru_get_url(id,client) 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'] 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) url_streaming_community,url_720_streaming_community,quality_sc = await streaming_community(id,client,SC_FAST_SEARCH)
if url_streaming_community is not None: 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": if quality_sc == "1080":
streams['streams'].append({'title': f'{HF}StreamingCommunity 1080p Max', 'url': url_streaming_community}) 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}) streams['streams'].append({'title': f'{HF}StreamingCommunity 720p Max', 'url': url_720_streaming_community})