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.
Slash (/) in video title causes application to lock up #3885
Comments
|
We already do replace slashes; and it works fine for me:
Can you elaborate what "locks up" means? Do you see 100% CPU usage? What do you see if you attach strace or ltrace to the youtube-dl process? |
|
I just simply let it run for a while and after a few minutes it downloaded the video just fine. However, this seems to happen with every file right now. It gets to "Extracting video information", hangs there for around 3 to 5 minutes (0% load), then it downloads (at normal speed). Sorry for all the confusion. I don't know whether this is a problem with my setup or whether it's a problem with youtube-dl. Some more info:
This is what I wrote before I noticed it: Maybe it's still helpful. Here's the output of strace:
Nothing after that. Do you also need the beginning of the log? |
|
Thanks for the detailed information! It's nice to get detailed error reports for once. It looks like r1---sn-p5qlsn7l.googlevideo.com resolves to 2a02:8070:0:801::10 for you (this seems to be a caching server on Kabel BW's premises). However, 2a02:8070:0:801::10 does not answer to SSL. Unfortunately, there doesn't seem to be anything routing to or from 2a02:8070:0:801::10 (or the box is simply dead for some reason). If you pass in |
|
Yes, passing --socket-timeout 5 does help. So it really seems to be an issue with the IPv6-server. When I use wget on the video path I have to enforce IPv4 (-4) for it to work. Is there a way to force youtube-dl to use IPv4 - as this would be a temporary fix until the server is back. Thank you for your help! |
|
@cclassic latest youtube-dl veresions support the |
When trying to download a video with an illegal character in the title such as a "/", youtube-dl locks up.
Example: youtube-dl "https://www.youtube.com/watch?v=lFSFdkXMOZo" with the title "Myself ; Yourself Ending Song (ENGLISH & JAPANESE LYRICS) |HD/HQ|"
Using "--restrict-filenames" does not solve the problem. However, getting the path with -g and downloading the video using an external program works.
Possible solution: Replace a / with an _.