Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New errors as of youtube-dl 2020.06.16.1 #112

Closed
profucius opened this issue Jun 17, 2020 · 2 comments
Closed

New errors as of youtube-dl 2020.06.16.1 #112

profucius opened this issue Jun 17, 2020 · 2 comments

Comments

@profucius
Copy link

profucius commented Jun 17, 2020

Tartube 2.1
youtube-dl 2020.06.16.1

I updated youtube-dl today, and proceeded to check/download some videos in a channel. I am receiving new errors (below).

Issue

Errors are generated by youtube-dl when downloading a video. Below are more details.

Settings

The only relevant settings that might be having influence over this is the General Download Options >
Formats, where I have only mp4 [size] as my list of preferred formats.

Error

Generated by this specific video from the channel linked above:

[debug] Command-line args: ['--newline', '-i', '--hls-prefer-native', '-o', 'G:/Web/exurb1a/%(upload_date)s - %(title)s/%(upload_date)s - %(title)s.%(ext)s', '--write-thumbnail', '-f', '398+136+22+397+135+396+134+18', '--write-sub', '--embed-subs', '--download-archive', 'G:/Web/exurb1a/ytdl-archive.txt', '--verbose', 'https://www.youtube.com/watch?v=EH-z9gE2uGY']
[debug] Encodings: locale cp1252, fs utf-8, out cp1252, pref cp1252
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.8.2 (CPython) - Windows-10-10.0.18362-SP0
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, rtmpdump 2.4
[debug] Proxy map: ()
ERROR: 'url'
Traceback (most recent call last):
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 808, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 863, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1644, in process_video_result
self.process_info(new_info)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1920, in process_info
partial_success = dl(fname, new_info)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1860, in dl
fd = get_suitable_downloader(info, self.params)(self, self.params)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/downloader/init.py", line 34, in get_suitable_downloader
protocol = determine_protocol(info_dict)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/utils.py", line 4288, in determine_protocol
url = info_dict['url']
KeyError: 'url'

@profucius
Copy link
Author

profucius commented Jun 19, 2020

It happened again. With default settings (verbose off) I only see this error:
image

But when I turn on verbose and all other output checkboxes on (to see all information), I see the same errors as in my original post above. I'll paste these new ones below:

[debug] Command-line args: ['--newline', '-i', '--hls-prefer-native', '-o', 'G:/Web/The School of Life/%(upload_date)s - %(title)s/%(upload_date)s - %(title)s.%(ext)s', '--write-thumbnail', '-f', '398+136+22+397+135+396+134+18', '--write-sub', '--embed-subs', '--download-archive', 'G:/Web/The School of Life/ytdl-archive.txt', '--verbose', 'https://www.youtube.com/watch?v=XdE17nu0zdo']
[debug] Encodings: locale cp1252, fs utf-8, out cp1252, pref cp1252
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.8.2 (CPython) - Windows-10-10.0.18362-SP0
[debug] exe versions: ffmpeg 4.2.2, ffprobe 4.2.2, rtmpdump 2.4
[debug] Proxy map: ()
ERROR: 'url'
Traceback (most recent call last):
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 808, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 863, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1644, in process_video_result
self.process_info(new_info)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1920, in process_info
partial_success = dl(fname, new_info)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1860, in dl
fd = get_suitable_downloader(info, self.params)(self, self.params)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/downloader/init.py", line 34, in get_suitable_downloader
protocol = determine_protocol(info_dict)
File "D:/portablez/tartube/msys64/mingw64/lib/python3.8/site-packages/youtube_dl/utils.py", line 4288, in determine_protocol
url = info_dict['url']
KeyError: 'url'

@profucius
Copy link
Author

Update: I totally uninstalled and reinstalled Tartube, and deleted my database file, while diagnosing another issue (the JPG vs WEBP one), and found that by adding only a single preferred file format (instead of multiples by priority) to the download options, the issue did not reproduce.

I will close this ticket since this resolves my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant