mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
[utils] Relaxing regex in decode_packed_codes for vidzi
This commit is contained in:
parent
e4fc8d2ebe
commit
680079be39
@ -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…
Reference in New Issue
Block a user