await resp text
This commit is contained in:
parent
ec3e917d34
commit
1b86fa591d
@ -246,7 +246,7 @@ async def rewrite(current, proxy):
|
||||
logger.info(e)
|
||||
if text is not None:
|
||||
links = []
|
||||
for line in resp.text.splitlines():
|
||||
for line in text.splitlines():
|
||||
if line.startswith("#EXT-X-KEY:METHOD="):
|
||||
matches = re.findall(r'(?<=URI=").+(?=")', line)
|
||||
if len(matches) == 1:
|
||||
|
Loading…
Reference in New Issue
Block a user