We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e9d7f1 commit 991f174Copy full SHA for 991f174
brozzler/worker.py
@@ -372,7 +372,9 @@ def brozzle_page(
372
)
373
outlinks.update(browser_outlinks)
374
status_code = browser.websock_thread.page_status
375
- if status_code in [502, 504]:
+ if status_code in [502, 504] or (
376
+ page.redirect_url and page.redirect_url.startswith("chrome-error:")
377
+ ):
378
raise brozzler.PageConnectionError()
379
except brozzler.PageInterstitialShown:
380
page_logger.info("page interstitial shown (http auth)")
0 commit comments