浏览代码

removed extra char in regexp

Ariset Llerena 11 年之前
父节点
当前提交
cb437dc2ad
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/vimple.py

+ 1 - 1
youtube_dl/extractor/vimple.py

@@ -40,7 +40,7 @@ class VimpleIE(InfoExtractor):
         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)