mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 08:39:59 -05:00
comment referencing PR
This commit is contained in:
parent
31e54c94e7
commit
91527f12df
@ -249,6 +249,8 @@ class BrozzlerWorker:
|
|||||||
for txn in ydl_spy.transactions:
|
for txn in ydl_spy.transactions:
|
||||||
content_type = txn['response_headers'].get_content_type()
|
content_type = txn['response_headers'].get_content_type()
|
||||||
if (content_type.startswith('video/')
|
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 content_type != 'video/vnd.mpeg.dash.mpd'
|
||||||
and txn['method'] == 'GET'
|
and txn['method'] == 'GET'
|
||||||
and txn['status_code'] in (200, 206)):
|
and txn['status_code'] in (200, 206)):
|
||||||
@ -392,6 +394,8 @@ class BrozzlerWorker:
|
|||||||
and 'response' in chrome_msg['params']
|
and 'response' in chrome_msg['params']
|
||||||
and 'mimeType' in chrome_msg['params']['response']
|
and 'mimeType' in chrome_msg['params']['response']
|
||||||
and chrome_msg['params']['response'].get('mimeType', '').startswith('video/')
|
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']['mimeType'] != 'video/vnd.mpeg.dash.mpd'
|
||||||
and chrome_msg['params']['response'].get('status') in (200, 206)):
|
and chrome_msg['params']['response'].get('status') in (200, 206)):
|
||||||
video = {
|
video = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user