mirror of https://github.com/yt-dlp/yt-dlp.git
parent
f0f867f008
commit
b337d2989c
|
@ -180,5 +180,10 @@
|
||||||
"action": "add",
|
"action": "add",
|
||||||
"when": "6aaf96a3d6e7d0d426e97e11a2fcf52fda00e733",
|
"when": "6aaf96a3d6e7d0d426e97e11a2fcf52fda00e733",
|
||||||
"short": "[priority] Security: [[CVE-2024-38519](https://nvd.nist.gov/vuln/detail/CVE-2024-38519)] [Properly sanitize file-extension to prevent file system modification and RCE](https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-79w7-vh3h-8g4j)\n - Unsafe extensions are now blocked from being downloaded"
|
"short": "[priority] Security: [[CVE-2024-38519](https://nvd.nist.gov/vuln/detail/CVE-2024-38519)] [Properly sanitize file-extension to prevent file system modification and RCE](https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-79w7-vh3h-8g4j)\n - Unsafe extensions are now blocked from being downloaded"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"action": "add",
|
||||||
|
"when": "6075a029dba70a89675ae1250e7cdfd91f0eba41",
|
||||||
|
"short": "[priority] Security: [[ie/douyutv] Do not use dangerous javascript source/URL](https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-3v33-3wmw-3785)\n - A dependency on potentially malicious third-party JavaScript code has been removed from the Douyu extractors"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -28,35 +28,11 @@ class ToggleIE(InfoExtractor):
|
||||||
'skip_download': 'm3u8 download',
|
'skip_download': 'm3u8 download',
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
'note': 'DRM-protected video',
|
|
||||||
'url': 'http://www.mewatch.sg/en/movies/dug-s-special-mission/341413',
|
'url': 'http://www.mewatch.sg/en/movies/dug-s-special-mission/341413',
|
||||||
'info_dict': {
|
'only_matching': True,
|
||||||
'id': '341413',
|
|
||||||
'ext': 'wvm',
|
|
||||||
'title': 'Dug\'s Special Mission',
|
|
||||||
'description': 'md5:e86c6f4458214905c1772398fabc93e0',
|
|
||||||
'upload_date': '20150827',
|
|
||||||
'timestamp': 1440644006,
|
|
||||||
},
|
|
||||||
'params': {
|
|
||||||
'skip_download': 'DRM-protected wvm download',
|
|
||||||
},
|
|
||||||
}, {
|
}, {
|
||||||
# this also tests correct video id extraction
|
|
||||||
'note': 'm3u8 links are geo-restricted, but Android/mp4 is okay',
|
|
||||||
'url': 'http://www.mewatch.sg/en/series/28th-sea-games-5-show/28th-sea-games-5-show-ep11/332861',
|
'url': 'http://www.mewatch.sg/en/series/28th-sea-games-5-show/28th-sea-games-5-show-ep11/332861',
|
||||||
'info_dict': {
|
'only_matching': True,
|
||||||
'id': '332861',
|
|
||||||
'ext': 'mp4',
|
|
||||||
'title': '28th SEA Games (5 Show) - Episode 11',
|
|
||||||
'description': 'md5:3cd4f5f56c7c3b1340c50a863f896faa',
|
|
||||||
'upload_date': '20150605',
|
|
||||||
'timestamp': 1433480166,
|
|
||||||
},
|
|
||||||
'params': {
|
|
||||||
'skip_download': 'DRM-protected wvm download',
|
|
||||||
},
|
|
||||||
'skip': 'm3u8 links are geo-restricted',
|
|
||||||
}, {
|
}, {
|
||||||
'url': 'http://video.toggle.sg/en/clips/seraph-sun-aloysius-will-suddenly-sing-some-old-songs-in-high-pitch-on-set/343331',
|
'url': 'http://video.toggle.sg/en/clips/seraph-sun-aloysius-will-suddenly-sing-some-old-songs-in-high-pitch-on-set/343331',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
|
|
@ -5026,7 +5026,7 @@ MEDIA_EXTENSIONS = Namespace(
|
||||||
common_video=('avi', 'flv', 'mkv', 'mov', 'mp4', 'webm'),
|
common_video=('avi', 'flv', 'mkv', 'mov', 'mp4', 'webm'),
|
||||||
video=('3g2', '3gp', 'f4v', 'mk3d', 'divx', 'mpg', 'ogv', 'm4v', 'wmv'),
|
video=('3g2', '3gp', 'f4v', 'mk3d', 'divx', 'mpg', 'ogv', 'm4v', 'wmv'),
|
||||||
common_audio=('aiff', 'alac', 'flac', 'm4a', 'mka', 'mp3', 'ogg', 'opus', 'wav'),
|
common_audio=('aiff', 'alac', 'flac', 'm4a', 'mka', 'mp3', 'ogg', 'opus', 'wav'),
|
||||||
audio=('aac', 'ape', 'asf', 'f4a', 'f4b', 'm4b', 'm4p', 'm4r', 'oga', 'ogx', 'spx', 'vorbis', 'wma', 'weba'),
|
audio=('aac', 'ape', 'asf', 'f4a', 'f4b', 'm4b', 'm4r', 'oga', 'ogx', 'spx', 'vorbis', 'wma', 'weba'),
|
||||||
thumbnails=('jpg', 'png', 'webp'),
|
thumbnails=('jpg', 'png', 'webp'),
|
||||||
storyboards=('mhtml', ),
|
storyboards=('mhtml', ),
|
||||||
subtitles=('srt', 'vtt', 'ass', 'lrc'),
|
subtitles=('srt', 'vtt', 'ass', 'lrc'),
|
||||||
|
|
Loading…
Reference in New Issue