Skip to content

Commit

Permalink
Don't log Firefox ext. pages on timeouts either
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostwords committed Jan 7, 2025
1 parent b0b65fb commit 3f16ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ def crawl(self, domains):

except TimeoutException:
curl = self.get_current_url()
if curl and curl.startswith(CHROME_URL_PREFIX):
if curl and curl.startswith((FF_URL_PREFIX, CHROME_URL_PREFIX)):
curl = None
self.logger.warning("Timed out loading %s", curl or domain)

Expand Down

0 comments on commit 3f16ada

Please sign in to comment.