fix: restore missing _extract_urls_from_text method in SocialDataExtractor

This commit is contained in:
Nubenetes Bot
2026-05-10 21:12:59 +02:00
parent f411b57d9d
commit e2bb1ff75f

View File

@@ -26,6 +26,10 @@ class SocialDataExtractor:
print(msg)
self.diagnostics.append(msg)
def _extract_urls_from_text(self, text: str) -> list[str]:
url_pattern = re.compile(r'https?://[^\s<>\"]+|www\.[^\s<>\"]+')
return url_pattern.findall(text)
async def _authenticate(self) -> bool:
try:
# IP Check independiente