(20260317) Tried headless and parallel mode.

This commit is contained in:
2026-03-17 18:09:04 +05:30
parent e25daf5fd5
commit 3a68412b1b
12 changed files with 15781 additions and 14463 deletions
+8 -1
View File
@@ -186,8 +186,15 @@ class AsyncTheCAOffice:
# ┛
@staticmethod
def remove_special_chars(s: str) -> str:
def remove_special_chars(s: str | Any) -> str:
# If the input is not a string,
# we convert that to a string:
if not isinstance(s, str):
s = str(s)
# If the input is a string,
# we ensure we remove unsupported chars:
return regex.replace(
text = s,
pattern = r"[^\w\d\- _]",