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