mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-25 10:12:16 +00:00
removed extra char in regexp
This commit is contained in:
parent
0d933b2ad5
commit
cb437dc2ad
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def _real_extract(self, url):
|
|||
player = zlib.decompress(player[8:])
|
||||
|
||||
|
||||
xml_pieces = re.findall(b'([a-zA-Z0-9 =\\+/]{500})', player)
|
||||
xml_pieces = re.findall(b'([a-zA-Z0-9 =+/]{500})', player)
|
||||
xml_pieces = [piece[1:-1] for piece in xml_pieces]
|
||||
|
||||
xml_data = b''.join(xml_pieces)
|
||||
|
|
Loading…
Reference in a new issue