mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-08-10 15:30:18 -04:00
log chrome_msg URLs
This commit is contained in:
parent
81983d1695
commit
510bfa36f7
1 changed files with 6 additions and 0 deletions
|
@ -441,6 +441,12 @@ class BrozzlerWorker:
|
||||||
page.videos = []
|
page.videos = []
|
||||||
page.videos.append(video)
|
page.videos.append(video)
|
||||||
|
|
||||||
|
if (chrome_msg['params']['response']['url'].lower().startswith('data:')
|
||||||
|
or chrome_msg['params']['response']['fromDiskCache']
|
||||||
|
or not 'requestHeaders' in chrome_msg['params']['response']):
|
||||||
|
return
|
||||||
|
self.logger.info('chrome_msg url: %s' % chrome_msg['params']['response']['url'])
|
||||||
|
|
||||||
if not browser.is_running():
|
if not browser.is_running():
|
||||||
browser.start(
|
browser.start(
|
||||||
proxy=self._proxy_for(site),
|
proxy=self._proxy_for(site),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue