Merge 58b95fa7bf75b6a07515bb60850725e4a3ce5801 into bf250194b4278a3f9bd02d7131be0f49a9bddca7

This commit is contained in:
Neil Minton 2017-08-03 17:21:38 +00:00 committed by GitHub
commit bc687e7c68
2 changed files with 2 additions and 3 deletions

View File

@ -452,6 +452,7 @@ class Browser:
outlinks = []
else:
outlinks = self.extract_outlinks()
logging.info('outlinks: \n\t%s', '\n\t'.join(sorted(outlinks)))
if not skip_visit_hashtags:
self.visit_hashtags(page_url, hashtags, outlinks)
final_page_url = self.url()

View File

@ -189,9 +189,7 @@ def brozzle_page(argv=None):
browser = brozzler.Browser(chrome_exe=args.chrome_exe)
try:
browser.start(proxy=args.proxy)
outlinks = worker.brozzle_page(
browser, site, page, on_screenshot=on_screenshot)
logging.info('outlinks: \n\t%s', '\n\t'.join(sorted(outlinks)))
worker.brozzle_page(browser, site, page, on_screenshot=on_screenshot)
except brozzler.ReachedLimit as e:
logging.error('reached limit %s', e)
finally: