Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Youtube] ERROR: Incomplete YouTube ID #11839

Closed
joeky888 opened this issue Jan 26, 2017 · 2 comments
Closed

[Youtube] ERROR: Incomplete YouTube ID #11839

joeky888 opened this issue Jan 26, 2017 · 2 comments
Labels

Comments

@joeky888
Copy link

@joeky888 joeky888 commented Jan 26, 2017

$ youtube-dl "https://www.youtube.com/watch?v=NBWv5GWODaE"
ERROR: Incomplete YouTube ID NBWv5GWDaE. URL https://www.youtube.com/watch?v=NBWv5GWDaE looks truncated.

youtube-dl with -v flag:

$ youtube-dl -v "https://www.youtube.com/watch?v=NBWv5GWODaE"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=NBWv5GWDaE']
[debug] Encodings: locale UTF-8, fs utf-8, out utf8, pref UTF-8
[debug] youtube-dl version 2017.01.25
[debug] Python version 3.4.5 - CYGWIN_NT-10.0-2.6.1-0.305-5-3-x86_64-64bit-WindowsPE
[debug] exe versions: ffmpeg git-2016-12-10-edb4f5d, ffprobe git-2016-12-10-edb4f5d
[debug] Proxy map: {}
ERROR: Incomplete YouTube ID NBWv5GWDaE. URL https://www.youtube.com/watch?v=NBWv5GWDaE looks truncated.
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 359, in extract
    return self._real_extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 2566, in _real_extract
    expected=True)
youtube_dl.utils.ExtractorError: Incomplete YouTube ID NBWv5GWDaE. URL https://www.youtube.com/watch?v=NBWv5GWDaE looks truncated.

What's this? thanks!

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 26, 2017

Read the error message. https://www.youtube.com/watch?v=NBWv5GWDaE is not a valid video URL.

@dstftw dstftw closed this Jan 26, 2017
@dstftw dstftw added the invalid label Jan 26, 2017
@joeky888
Copy link
Author

@joeky888 joeky888 commented Jan 26, 2017

Oh, I know what the problem is.

URL is https://www.youtube.com/watch?v=NBWv5GWODaE

But I have this code in my .zshrc

bindkey "OC" forward-word
bindkey "OD" backward-word

So https://www.youtube.com/watch?v=NBWv5GWODaE

becomes https://www.youtube.com/watch?v=NBWv5GWDaE

:p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.