Browse Source

[utils] Relaxing regex in decode_packed_codes for vidzi

totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
680079be39
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/utils.py

+ 1
- 1
youtube_dl/utils.py View File

@ -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)


Loading…
Cancel
Save