mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
Add support for "original" format in YouTube (fixes issue #155)
This commit is contained in:
parent
7e2dd306fe
commit
c833bb97dc
1 changed files with 2 additions and 1 deletions
|
@ -685,13 +685,14 @@ class YoutubeIE(InfoExtractor):
|
||||||
_AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
|
_AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
|
||||||
_NETRC_MACHINE = 'youtube'
|
_NETRC_MACHINE = 'youtube'
|
||||||
# Listed in order of priority for the -b option
|
# Listed in order of priority for the -b option
|
||||||
_available_formats = ['37', '22', '45', '35', '34', '43', '18', '6', '5', '17', '13', None]
|
_available_formats = ['38', '37', '22', '45', '35', '34', '43', '18', '6', '5', '17', '13', None]
|
||||||
_video_extensions = {
|
_video_extensions = {
|
||||||
'13': '3gp',
|
'13': '3gp',
|
||||||
'17': 'mp4',
|
'17': 'mp4',
|
||||||
'18': 'mp4',
|
'18': 'mp4',
|
||||||
'22': 'mp4',
|
'22': 'mp4',
|
||||||
'37': 'mp4',
|
'37': 'mp4',
|
||||||
|
'38': 'video',
|
||||||
'43': 'webm',
|
'43': 'webm',
|
||||||
'45': 'webm',
|
'45': 'webm',
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue