Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
TypeError: %d format: a number is required, not float #8299
Comments
|
|
|
Thank you, closing issue |
|
It's documented as supported:
so I have fixed the error. Note that it will print |
|
Sorry for the mistake. For the output format, just skipping the 'of xxx' part looks good to me:
|
|
I don't have any preference, feel free to change it. |
Youtube-DL Version: 2016.01.15
Platform: Ubuntu 14.04.3 LTS (Server)
Youtube-DL Command: youtube-dl --playlist-reverse --extract-audio --audio-format m4a --embed-thumbnail -o "%(uploader)s/%(autonumber)s.%(title)s.%(ext)s" --autonumber-size 3 --retries infinite --restrict-filenames https://www.youtube.com/user/DiavelNN/videos
Youtube-DL Traceback: [download] Downloading video 17 of 580
[youtube] nCr1lW67uEQ: Downloading webpage
[youtube] nCr1lW67uEQ: Downloading video info webpage
[youtube] nCr1lW67uEQ: Extracting video information
[youtube] nCr1lW67uEQ: Downloading DASH manifest
[youtube] nCr1lW67uEQ: Downloading thumbnail ...
[youtube] nCr1lW67uEQ: Writing thumbnail to: Diversity_Promotions/017.Auburn_-_Perfect_Two_Vau_Boy_Remix.jpg
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 19, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 410, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 400, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1677, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 729, in process_ie_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 837, in process_ie_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 729, in process_ie_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 676, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 722, in process_ie_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1347, in process_video_result
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1609, in process_info
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1551, in dl
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 342, in download
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 125, in real_download
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 298, in report_retry
TypeError: %d format: a number is required, not float
Can anyone advise on this error please, or if there's a way to have youtube-dl skip & continue? Trying to download music from the above Youtube channel as m4a, with thumbnails embedded