[escapist] Filter video differently (Fixes #4919)
This commit is contained in:
parent
596ac6e31f
commit
9650885be9
2 changed files with 5 additions and 2 deletions
|
@ -54,8 +54,11 @@ class EscapistIE(InfoExtractor):
|
|||
transform_source=js_to_json)
|
||||
|
||||
playlist = config['playlist']
|
||||
video_url = next(
|
||||
p['url'] for p in playlist
|
||||
if p.get('eventCategory') == 'Video')
|
||||
formats.append({
|
||||
'url': playlist[1]['url'],
|
||||
'url': video_url,
|
||||
'format_id': name,
|
||||
'quality': quality,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue