Fix cached key regex

This commit is contained in:
hyugogirubato 2024-10-11 20:26:48 +02:00
parent 71af689b23
commit 9b99ac6e13
2 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ def catch_all(path: str) -> Response:
boundary_data = parse_boundary(body.decode('utf-8'))
# Force response for Disney
if int(boundary_data.get('TB', 0)) == 31 and boundary_data.get('PS'):
if boundary_data.get('TB') == '31' and boundary_data.get('PS'):
content = json.dumps({'R': 5, 'u': None}, separators=(',', ':')).encode('utf-8')
return Response(status=200, response=content, headers={'Content-Type': 'text/html; charset=UTF-8'})

View File

@ -1678,7 +1678,7 @@
},
{
"type": "regex-path",
"regexSource": "https?:\\/\\/.+\\/ak\\/uc_v[0-9]\\/",
"regexSource": "https?:\\/\\/.+\\/ak\\/[a-z]+_v[0-9]\\/",
"regexFlags": ""
}
],