I’ve tried 6 YouTube videos so far, and all 6 fail in the same way. Using the same links in Chromium (current version) on the same Ubuntu 18.04 box (patched current) works perfectly every time. Here’s an example:
jim@beaver:~$ youtube-dl Joni Mitchell Woman of Heart and Mind (documentary, subt esp) - YouTube
[youtube] T95l3_eai88: Downloading webpage
[youtube] T95l3_eai88: Downloading video info webpage
WARNING: unable to download video info webpage: HTTP Error 410: Gone
WARNING: unable to download video info webpage: HTTP Error 410: Gone
WARNING: unable to download video info webpage: HTTP Error 410: Gone
WARNING: unable to download video info webpage: HTTP Error 410: Gone
WARNING: unable to download video info webpage: HTTP Error 410: Gone
Traceback (most recent call last):
File “/usr/bin/youtube-dl”, line 6, in
youtube_dl.main()
File “/usr/lib/python3/dist-packages/youtube_dl/init.py”, line 476, in main
_real_main(argv)
File “/usr/lib/python3/dist-packages/youtube_dl/init.py”, line 466, in _real_main
retcode = ydl.download(all_urls)
File “/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py”, line 1989, in download
url, force_generic_extractor=self.params.get(‘force_generic_extractor’, False))
File “/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py”, line 785, in extract_info
ie_result = ie.extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py”, line 440, in extract
ie_result = self._real_extract(url)
File “/usr/lib/python3/dist-packages/youtube_dl/extractor/youtube.py”, line 1607, in _real_extract
token = video_info.get(‘token’) or video_info.get(‘account_playback_token’)
AttributeError: ‘NoneType’ object has no attribute ‘get’
jim@beaver:~$
Any suggestions will be appreciated, or please let me know if I have found a flaw in youtube-dl.
Jim-Bob