mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
avoid hanging in case a page has no outlinks
This commit is contained in:
parent
6a11e1da2a
commit
0bd687abde
@ -273,7 +273,7 @@ class Browser:
|
||||
or self._waiting_on_screenshot_msg_id):
|
||||
return False
|
||||
|
||||
if self._outlinks:
|
||||
if self._outlinks is not None:
|
||||
self.logger.info("got outlinks, finished browsing %s", self.url)
|
||||
return True
|
||||
elif not self._waiting_on_outlinks_msg_id:
|
||||
|
Loading…
x
Reference in New Issue
Block a user