comment referencing PR

This commit is contained in:
Barbara Miller 2017-11-07 16:05:35 -08:00
parent 31e54c94e7
commit 91527f12df

View File

@ -249,6 +249,8 @@ class BrozzlerWorker:
for txn in ydl_spy.transactions:
content_type = txn['response_headers'].get_content_type()
if (content_type.startswith('video/')
# skip manifests of DASH segmented video -
# see https://github.com/internetarchive/brozzler/pull/70
and content_type != 'video/vnd.mpeg.dash.mpd'
and txn['method'] == 'GET'
and txn['status_code'] in (200, 206)):
@ -392,6 +394,8 @@ class BrozzlerWorker:
and 'response' in chrome_msg['params']
and 'mimeType' in chrome_msg['params']['response']
and chrome_msg['params']['response'].get('mimeType', '').startswith('video/')
# skip manifests of DASH segmented video -
# see https://github.com/internetarchive/brozzler/pull/70
and chrome_msg['params']['response']['mimeType'] != 'video/vnd.mpeg.dash.mpd'
and chrome_msg['params']['response'].get('status') in (200, 206)):
video = {