1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 18:22:21 +00:00

removed extra char in regexp

This commit is contained in:
Ariset Llerena 2014-06-12 22:33:50 -04:00
parent 0d933b2ad5
commit cb437dc2ad

View file

@ -40,7 +40,7 @@ class VimpleIE(InfoExtractor):
player = zlib.decompress(player[8:]) 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_pieces = [piece[1:-1] for piece in xml_pieces]
xml_data = b''.join(xml_pieces) xml_data = b''.join(xml_pieces)