Package: youtube-dl
Version: 2015.02.28-1
When you use the --no-part option, and try to download a video that has
been already downloaded, youtube-dl fails with an exception:
$ youtube-dl --no-part -f 17 'http://www.youtube.com/watch?v=cV0tCphFMr8'
[youtube] cV0tCphFMr8: Downloading webpage
[youtube] cV0tCphFMr8: Extracting video information
[youtube] cV0tCphFMr8: Downloading DASH manifest
[download] Destination: The Bridge of Death - Monty Python and the Holy
Grail-cV0tCphFMr8.3gp
[download] 100% of 1.93MiB in 00:32
$ youtube-dl --no-part -f 17 'http://www.youtube.com/watch?v=cV0tCphFMr8'
[youtube] cV0tCphFMr8: Downloading webpage
[youtube] cV0tCphFMr8: Extracting video information
[youtube] cV0tCphFMr8: Downloading DASH manifest
[download] Resuming download at byte 2020136
[download] The Bridge of Death - Monty Python and the Holy
Grail-cV0tCphFMr8.3gp has already been downloaded
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 9, in <module>
load_entry_point('youtube-dl==2015.02.28', 'console_scripts', 'youtube-dl')()
File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 397, in
main
_real_main(argv)
File "/usr/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 387, in
_real_main
retcode = ydl.download(all_urls)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1442, in
download
res = self.extract_info(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 654, in
extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 700, in
process_ie_result
return self.process_video_result(ie_result, download=download)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1143, in
process_video_result
self.process_info(new_info)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1375, in
process_info
success = dl(filename, info_dict)
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1350, in
dl
return fd.download(name, info)
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line
339, in download
return self.real_download(filename, info_dict)
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line
94, in real_download
'status': 'finished',
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line
347, in _hook_progress
ph(status)
File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line
235, in report_progress
s['_total_bytes_str'] = format_bytes(s['total_bytes'])
KeyError: u'total_bytes'
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages youtube-dl depends on:
ii python 2.7.9-1
ii python-pkg-resources 5.5.1-1
Versions of packages youtube-dl recommends:
ii curl 7.38.0-4
ii ffmpeg 7:2.6.1-1
ii libav-tools 6:11.3-1
pn mplayer2 | mplayer <none>
pn rtmpdump <none>
ii wget 1.16.3-2
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]