![youtube-dl 오류 -- YouTube에 다음과 같이 표시됩니다: 비디오 데이터를 추출할 수 없습니다](https://linux55.com/image/178255/youtube-dl%20%EC%98%A4%EB%A5%98%20--%20YouTube%EC%97%90%20%EB%8B%A4%EC%9D%8C%EA%B3%BC%20%EA%B0%99%EC%9D%B4%20%ED%91%9C%EC%8B%9C%EB%90%A9%EB%8B%88%EB%8B%A4%3A%20%EB%B9%84%EB%94%94%EC%98%A4%20%EB%8D%B0%EC%9D%B4%ED%84%B0%EB%A5%BC%20%EC%B6%94%EC%B6%9C%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.png)
내 youtube-dl이 최신 버전입니다.
youtube-dl --version
2020.07.28
일부 URL은 다운로드할 수 있고 일부는 다운로드할 수 없는 것으로 나타났습니다.
#url which can be downloaded
url='https://www.youtube.com/watch?v=5dZ_lvDgevk'
root@vultr:~/video# youtube-dl -v $url
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=5dZ_lvDgevk']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.5.3 (CPython) - Linux-4.9.0-12-amd64-x86_64-with-debian-9.12
[debug] exe versions: ffmpeg 3.2.14-1, ffprobe 3.2.14-1
[debug] Proxy map: {}
[youtube] 5dZ_lvDgevk: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[download] Destination: In the Age of AI (full film) _ FRONTLINE-5dZ_lvDgevk.f137.mp4
[download] 100% of 1.21GiB in 00:24
[download] Destination: In the Age of AI (full film) _ FRONTLINE-5dZ_lvDgevk.f251.webm
[download] 100% of 109.03MiB in 00:01
[ffmpeg] Merging formats into "In the Age of AI (full film) _ FRONTLINE-5dZ_lvDgevk.mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:In the Age of AI (full film) _ FRONTLINE-5dZ_lvDgevk.f137.mp4' -i 'file:In the Age of AI (full film) _ FRONTLINE-5dZ_lvDgevk.f251.webm' -c copy -map 0:v:0 -map 1:a:0 'file:In the Age of AI (full film) _ FRONTLINE-5dZ_lvDgevk.temp.mkv'
Deleting original file In the Age of AI (full film) _ FRONTLINE-5dZ_lvDgevk.f137.mp4 (pass -k to keep)
Deleting original file In the Age of AI (full film) _ FRONTLINE-5dZ_lvDgevk.f251.webm (pass -k to keep)
URL이 성공적으로 다운로드되었습니다. 다시 시도해 보세요.
#url which can't be downloaded
url="https://www.youtube.com/watch?v=bpAi70WWBlw"
youtube-dl -v $url
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=bpAi70WWBlw']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.5.3 (CPython) - Linux-4.9.0-12-amd64-x86_64-with-debian-9.12
[debug] exe versions: ffmpeg 3.2.14-1, ffprobe 3.2.14-1
[debug] Proxy map: {}
[youtube] bpAi70WWBlw: Downloading webpage
ERROR: bpAi70WWBlw: YouTube said: Unable to extract video data
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 797, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 530, in extract
ie_result = self._real_extract(url)
File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/youtube.py", line 1893, in _real_extract
'YouTube said: %s' % unavailable_message, expected=True, video_id=video_id)
youtube_dl.utils.ExtractorError: bpAi70WWBlw: YouTube said: Unable to extract video data
실패했습니다.
어떻게 고치나요?