[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
parent ed66a17ef0
commit febff4c119
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]))*[^'\\]*'|