I am currently trying to download a youtube video as usual with youtube-dl but keep getting a strange EOF error. When I check my download folder i have the download file split into various parts one with the extension *.part another with *.part-init then various other files ending in *.part-SegX where 'X' is numbered from 0-9.

Here is what terminal output looks like.

youtube-dl -c -f 'bestvideo[height<=720]+bestaudio/best[height<=720]' https://www.youtube.com/watch?v=wLduVQOagFk
[youtube] wLduVQOagFk: Downloading webpage
[youtube] wLduVQOagFk: Downloading video info webpage
[youtube] wLduVQOagFk: Extracting video information
WARNING: unable to extract uploader nickname
[youtube] wLduVQOagFk: Downloading MPD manifest
[youtube] wLduVQOagFk: Downloading MPD manifest
[dashsegments] Total fragments: 45
[download] Destination: Shonen vs Seinen-wLduVQOagFk.f136.mp4
[download]  35.6% of ~46.96MiB at 30.29KiB/s ETA 16:33ERROR: unable to download video data: <urlopen error EOF occurred in violation of protocol (_ssl.c:590)>

Any ideas on what might be happening and how I can solve this or is this some sort of bug?


Most of the Problems are solved by a simple update youtube-dl -U.

| improve this answer | |
  • Tried to update like you said but got It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update. output... Can't really remember how I installed it... how can I update in this case? – natral Dec 12 '17 at 22:08
  • Why don't you just download the newest version from here rg3.github.io/youtube-dl/download.html. Should work then. Remember to have python on your system. – manifestor Dec 13 '17 at 9:28

Following @chevallier suggestion I looked into how I could update youtube-dl since youtube-dl -U was not working. Here is what worked for me...

sudo apt-add-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install youtube-dl
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.