kopia lustrzana https://github.com/yt-dlp/yt-dlp
[utils] Relaxing regex in decode_packed_codes for vidzi
rodzic
e4fc8d2ebe
commit
680079be39
|
@ -2639,7 +2639,7 @@ def base_n(num, n, table=None):
|
||||||
|
|
||||||
def decode_packed_codes(code):
|
def decode_packed_codes(code):
|
||||||
mobj = re.search(
|
mobj = re.search(
|
||||||
r"'([^']+)',(\d+),(\d+),'([^']+)'\.split\('\|'\),[^,]+,{}",
|
r"}\('(.+)',(\d+),(\d+),'([^']+)'\.split\('\|'\)",
|
||||||
code)
|
code)
|
||||||
obfucasted_code, base, count, symbols = mobj.groups()
|
obfucasted_code, base, count, symbols = mobj.groups()
|
||||||
base = int(base)
|
base = int(base)
|
||||||
|
|
Ładowanie…
Reference in New Issue