mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-09 08:09:41 -04:00
comment referencing PR
This commit is contained in:
parent
31e54c94e7
commit
91527f12df
1 changed files with 4 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue