Skip to content

Commit

Permalink
set serial to true and check regex return
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperKogito committed Feb 2, 2024
1 parent d394cff commit ea49d67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_core_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_difficult_urls(file_paths):
"""
test difficult urls that likely require selenium.
"""
checker = UrlChecker()
checker = UrlChecker(serial=True)
results = checker.run(file_paths, timeout=10)
print("Results:", results)

Expand Down
3 changes: 3 additions & 0 deletions urlchecker/core/urlproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ def extract_urls(self):

# collect all links from file (unique=True is set)
self.urls = fileproc.collect_links_from_file(self.file_name)
print("*" * 35)
print("Extracted URLS:", self.urls)
print("*" * 35)

def check_urls(
self,
Expand Down

0 comments on commit ea49d67

Please sign in to comment.