Fix cached key regex
This commit is contained in:
parent
71af689b23
commit
9b99ac6e13
@ -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'})
|
||||
|
||||
|
@ -1678,7 +1678,7 @@
|
||||
},
|
||||
{
|
||||
"type": "regex-path",
|
||||
"regexSource": "https?:\\/\\/.+\\/ak\\/uc_v[0-9]\\/",
|
||||
"regexSource": "https?:\\/\\/.+\\/ak\\/[a-z]+_v[0-9]\\/",
|
||||
"regexFlags": ""
|
||||
}
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user