LoremPizza commited on
Commit
409e836
·
verified ·
1 Parent(s): c3db731

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +1 -1
test.py CHANGED
@@ -18,7 +18,7 @@ def fetch_m3u8(url):
18
 
19
  #This is just for testing, ignore that endpoint and the func
20
  @app.get("/vixcloud/manifest.m3u8")
21
- async def clone2_m3u8(d:str,token:str,expires:str,h:str):
22
  try:
23
  m3u8 = f'{d}?token={token}&expires={expires}&h={h}'
24
  print(m3u8)
 
18
 
19
  #This is just for testing, ignore that endpoint and the func
20
  @app.get("/vixcloud/manifest.m3u8")
21
+ async def clone2_m3u8(d:str,token:str,expires:str,h:str = None, b:str = None, request: Request = None):
22
  try:
23
  m3u8 = f'{d}?token={token}&expires={expires}&h={h}'
24
  print(m3u8)