await resp text
This commit is contained in:
		@@ -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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user