readme update & tests add

This commit is contained in:
martin legrand
2025-04-07 16:56:36 +02:00
parent 6eee5cf350
commit d75735ecb0
4 changed files with 6 additions and 4 deletions
+2 -2
View File
@@ -16,11 +16,11 @@ class TestBrowserAgentParsing(unittest.TestCase):
def test_extract_links(self):
# Test various link formats
test_text = """
Check this out: https://example.com, and www.google.com!
Check this out: https://thriveonai.com/15-ai-startups-in-japan-to-take-note-of, and www.google.com!
Also try https://test.org/about?page=1.
"""
expected = [
"https://example.com",
"https://thriveonai.com/15-ai-startups-in-japan-to-take-note-of",
"www.google.com",
"https://test.org/about?page=1"
]