### What problem does this PR solve?


### Type of change

- [x] Refactoring
This commit is contained in:
KevinHuSh
2024-06-12 11:02:15 +08:00
committed by GitHub
parent 2cc89211f6
commit abcd3d2469
7 changed files with 73 additions and 83 deletions

View File

@ -78,5 +78,3 @@ def __get_pdf_from_html(
def is_valid_url(url: str) -> bool:
return bool(re.match(r"(https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]", url))