mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-09 06:52:46 -04:00
Revert "Log oulinks for all users of Browser."
This reverts commit 58b95fa7bf
.
It was decided that this change didn't make sense for Brozzler.
This commit is contained in:
parent
58b95fa7bf
commit
5ad7c9c7cc
2 changed files with 3 additions and 2 deletions
|
@ -452,7 +452,6 @@ class Browser:
|
||||||
outlinks = []
|
outlinks = []
|
||||||
else:
|
else:
|
||||||
outlinks = self.extract_outlinks()
|
outlinks = self.extract_outlinks()
|
||||||
logging.info('outlinks: \n\t%s', '\n\t'.join(sorted(outlinks)))
|
|
||||||
if not skip_visit_hashtags:
|
if not skip_visit_hashtags:
|
||||||
self.visit_hashtags(page_url, hashtags, outlinks)
|
self.visit_hashtags(page_url, hashtags, outlinks)
|
||||||
final_page_url = self.url()
|
final_page_url = self.url()
|
||||||
|
|
|
@ -189,7 +189,9 @@ def brozzle_page(argv=None):
|
||||||
browser = brozzler.Browser(chrome_exe=args.chrome_exe)
|
browser = brozzler.Browser(chrome_exe=args.chrome_exe)
|
||||||
try:
|
try:
|
||||||
browser.start(proxy=args.proxy)
|
browser.start(proxy=args.proxy)
|
||||||
worker.brozzle_page(browser, site, page, on_screenshot=on_screenshot)
|
outlinks = worker.brozzle_page(
|
||||||
|
browser, site, page, on_screenshot=on_screenshot)
|
||||||
|
logging.info('outlinks: \n\t%s', '\n\t'.join(sorted(outlinks)))
|
||||||
except brozzler.ReachedLimit as e:
|
except brozzler.ReachedLimit as e:
|
||||||
logging.error('reached limit %s', e)
|
logging.error('reached limit %s', e)
|
||||||
finally:
|
finally:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue