wont download some videos #712

Closed
opened 2026-02-20 23:11:09 -05:00 by deekerman · 4 comments
Owner

Originally created by @liron69 on GitHub (Jul 1, 2013).

this is only 1 error of 16
can you please solve this problem or help me how to slove it ?

youtube-dl -citw "http://www.youtube.com/user/TheKARAOKEChannel" --verbose
[download] Downloading video #4 of 139
[youtube] Setting language
[youtube] B3EJfjkK6jg: Downloading video webpage
[youtube] B3EJfjkK6jg: Downloading video info webpage
ERROR: YouTube said: This video is not available.; please report this issue on h
ttps://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and in
clude its complete output.
Traceback (most recent call last):
File "youtube_dl__init__.pyo", line 566, in _real_main
File "subprocess.pyo", line 679, in init
File "subprocess.pyo", line 896, in _execute_child
WindowsError: [Error 267] The directory name is invalid
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 312, in extract_info
File "youtube_dl\extractor\common.pyo", line 92, in extract
File "youtube_dl\extractor\youtube.pyo", line 442, in _real_extract
ExtractorError: YouTube said: This video is not available.; please report this i
ssue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose fl
ag and include its complete output.

regards,
Liron.

Originally created by @liron69 on GitHub (Jul 1, 2013). this is only 1 error of 16 can you please solve this problem or help me how to slove it ? youtube-dl -citw "http://www.youtube.com/user/TheKARAOKEChannel" --verbose [download] Downloading video #4 of 139 [youtube] Setting language [youtube] B3EJfjkK6jg: Downloading video webpage [youtube] B3EJfjkK6jg: Downloading video info webpage ERROR: YouTube said: This video is not available.; please report this issue on h ttps://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and in clude its complete output. Traceback (most recent call last): File "youtube_dl__init__.pyo", line 566, in _real_main File "subprocess.pyo", line 679, in __init__ File "subprocess.pyo", line 896, in _execute_child WindowsError: [Error 267] The directory name is invalid Traceback (most recent call last): File "youtube_dl\YoutubeDL.pyo", line 312, in extract_info File "youtube_dl\extractor\common.pyo", line 92, in extract File "youtube_dl\extractor\youtube.pyo", line 442, in _real_extract ExtractorError: YouTube said: This video is not available.; please report this i ssue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose fl ag and include its complete output. regards, Liron.
Author
Owner

@phihag commented on GitHub (Jul 1, 2013):

We should clarify the message; this is (most likely) not an error in youtube-dl YouTube said... is not an unexpected; where are you located? Can you watch http://www.youtube.com/watch?v=B3EJfjkK6jg in your webbrowser from the machine you're running youtube-dl on?

File "youtube_dl__init__.pyo", line 566, in real_main
File "subprocess.pyo", line 679, in __init_
File "subprocess.pyo", line 896, in _execute_child
WindowsError: [Error 267] The directory name is invalid

is a (harmless, since it's only during the debugging output) error in youtube-dl. In which directory are you executing it?

@phihag commented on GitHub (Jul 1, 2013): We should clarify the message; this is (most likely) not an error in youtube-dl `YouTube said...` is not an unexpected; where are you located? Can you watch http://www.youtube.com/watch?v=B3EJfjkK6jg in your webbrowser from the machine you're running youtube-dl on? ``` File "youtube_dl__init__.pyo", line 566, in real_main File "subprocess.pyo", line 679, in __init_ File "subprocess.pyo", line 896, in _execute_child WindowsError: [Error 267] The directory name is invalid ``` _is_ a (harmless, since it's only during the debugging output) error in youtube-dl. In which directory are you executing it?
Author
Owner

@liron69 commented on GitHub (Jul 1, 2013):

I'm running it under the windows cmd and to folder x:\sort
I'm sure that everything is perfect with my machine.
it's downloading the most of the videos on that channel except for about 16 videos,
if you ask me, i think its a matter of youtube file protection.

@liron69 commented on GitHub (Jul 1, 2013): I'm running it under the windows cmd and to folder x:\sort I'm sure that everything is perfect with my machine. it's downloading the most of the videos on that channel except for about 16 videos, if you ask me, i think its a matter of youtube file protection.
Author
Owner

@liron69 commented on GitHub (Jul 1, 2013):

and by the way, i cant watch the video you mentioned.
have i missed anything here that i cant watch it ?

anyways, I thank you for your time and help !

@liron69 commented on GitHub (Jul 1, 2013): and by the way, i cant watch the video you mentioned. have i missed anything here that i cant watch it ? anyways, I thank you for your time and help !
Author
Owner

@phihag commented on GitHub (Jul 2, 2013):

That's why I asked where you are (physically) located. YouTube blocks that video because it thinks your IP address is in a country for which the uploader of the video has insufficient (legal) usage rights (or there other tricky legal problems). Apart from you using a proxy (or a VPN), there is nothing youtube-dl - or any software, for that matter - can do about that, sorry.

The (harmless) Windows error has been fixed in 8dba13f7e8. I've also added code in order to not show the scary internal error message for YouTube blocks. Thank you for reporting!

@phihag commented on GitHub (Jul 2, 2013): That's why I asked where you are (physically) located. YouTube blocks that video because it thinks your IP address is in a country for which the uploader of the video has insufficient (legal) usage rights ([or there other tricky legal problems](http://en.wikipedia.org/wiki/Blocking_of_YouTube_videos_in_Germany)). Apart from you using a proxy (or a VPN), there is nothing youtube-dl - or any software, for that matter - can do about that, sorry. The (harmless) Windows error has been fixed in 8dba13f7e82ecb57b8e92e43ce63d51937a50288. I've also added code in order to not show the scary internal error message for YouTube blocks. Thank you for reporting!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#712
No description provided.