mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-05-23 01:24:08 +00:00
fix: restore missing _extract_urls_from_text method in SocialDataExtractor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user