ソースを参照

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)