[extractor/ccc] support downloading videos in AV1

pull/13597/head
Lilian 3 months ago
parent b5bd057fe8
commit cfecf5aeca
No known key found for this signature in database

@ -52,9 +52,13 @@ class CCCIE(InfoExtractor):
format_id += '-' + folder format_id += '-' + folder
else: else:
format_id = folder format_id = folder
vcodec = 'h264' if 'h264' in folder else ( vcodec = None
'none' if folder in ('mp3', 'opus') else None if 'av1' in folder:
) vcodec = 'av1'
elif 'h264' in folder:
vcodec = 'h264'
elif folder in ('mp3', 'opus'):
vcodec = 'none'
formats.append({ formats.append({
'format_id': format_id, 'format_id': format_id,
'url': recording_url, 'url': recording_url,

Loading…
Cancel
Save