Update mediaflow_proxy/handlers.py
Browse files
mediaflow_proxy/handlers.py
CHANGED
|
@@ -47,6 +47,10 @@ async def handle_hls_stream_proxy(
|
|
| 47 |
proxy=settings.proxy_url,
|
| 48 |
verify=verify_ssl,
|
| 49 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
streamer = Streamer(client)
|
| 51 |
try:
|
| 52 |
if destination.endswith((".m3u", ".m3u8")):
|
|
|
|
| 47 |
proxy=settings.proxy_url,
|
| 48 |
verify=verify_ssl,
|
| 49 |
)
|
| 50 |
+
response = await client.get("https://huhu.to/play/1225653759/index.m3u8")
|
| 51 |
+
print(response)
|
| 52 |
+
destination = response.url
|
| 53 |
+
print("HERE DESTINATION",destination)
|
| 54 |
streamer = Streamer(client)
|
| 55 |
try:
|
| 56 |
if destination.endswith((".m3u", ".m3u8")):
|