mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-05 03:54:13 +08:00
[pbs] specify audio only format
This commit is contained in:
parent
a800076037
commit
ebc903353e
@ -79,7 +79,7 @@ class PBSIE(InfoExtractor):
|
|||||||
'url': base_url+'/'+filename,
|
'url': base_url+'/'+filename,
|
||||||
'protocol': 'm3u8',
|
'protocol': 'm3u8',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'format_note': codecs,
|
'format_note': 'Audio only' if codecs.split('.')[0] == 'mp4a' else 'Video',
|
||||||
'quality': int(bandwidth),
|
'quality': int(bandwidth),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user