Update api/validate.py
Browse files- api/validate.py +1 -1
api/validate.py
CHANGED
|
@@ -33,7 +33,7 @@ async def getHid(force_refresh: bool = False) -> Optional[str]:
|
|
| 33 |
content = response.text
|
| 34 |
|
| 35 |
# Use a regular expression to find specific `static/chunks` paths.
|
| 36 |
-
pattern = r"static/chunks
|
| 37 |
match = re.search(pattern, content)
|
| 38 |
|
| 39 |
if match:
|
|
|
|
| 33 |
content = response.text
|
| 34 |
|
| 35 |
# Use a regular expression to find specific `static/chunks` paths.
|
| 36 |
+
pattern = r"static/chunks/\d{4}-[a-fA-F0-9]+\.js"
|
| 37 |
match = re.search(pattern, content)
|
| 38 |
|
| 39 |
if match:
|