1
0
Fork 0

[tubitv] Fix/improve TV series extraction (#2829)

Authored by: bbepis
This commit is contained in:
Bepis 2022-02-19 23:00:51 +11:00 committed by GitHub
commit febff4c119
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions

View file

@ -3143,6 +3143,8 @@ def js_to_json(code, vars={}):
return '"%s"' % v
code = re.sub(r'new Date\((".+")\)', r'\g<1>', code)
return re.sub(r'''(?sx)
"(?:[^"\\]*(?:\\\\|\\['"nurtbfx/\n]))*[^"\\]*"|
'(?:[^'\\]*(?:\\\\|\\['"nurtbfx/\n]))*[^'\\]*'|