Small fix
This commit is contained in:
@@ -564,7 +564,7 @@ def extract_urls_from_text(text):
|
|||||||
return []
|
return []
|
||||||
|
|
||||||
repaired = repair_broken_urls(text)
|
repaired = repair_broken_urls(text)
|
||||||
pattern = r'(?:(?:https?://)|(?:www\.))[^\s<>"\'']+'
|
pattern = r'(?:(?:https?://)|(?:www\.))[^\s<>"\']+'
|
||||||
return re.findall(pattern, repaired)
|
return re.findall(pattern, repaired)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user