LoremPizza commited on
Commit
5a11943
·
verified ·
1 Parent(s): e606c7f

Update mediaflow_proxy/handlers.py

Browse files
Files changed (1) hide show
  1. mediaflow_proxy/handlers.py +4 -0
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")):