aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-02-26 15:13:03 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-02-26 15:13:03 +0800
commit680079be39563a2ff810602413db5245d6cbf148 (patch)
treec01d11d22f5d9e9d6a6a82ce2c1dde29e25e68cf /youtube_dl/utils.py
parente4fc8d2ebedfc6ea7f66ff9146940c73802a2edf (diff)
[utils] Relaxing regex in decode_packed_codes for vidzi
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index fc7e2fb7f..756ad4fd1 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -2639,7 +2639,7 @@ def base_n(num, n, table=None):
def decode_packed_codes(code):
mobj = re.search(
- r"'([^']+)',(\d+),(\d+),'([^']+)'\.split\('\|'\),[^,]+,{}",
+ r"}\('(.+)',(\d+),(\d+),'([^']+)'\.split\('\|'\)",
code)
obfucasted_code, base, count, symbols = mobj.groups()
base = int(base)