Closed kaziusj closed 1 year ago
For me the problem occurres also when there is no '-' in the URL, e.g., https://www.youtube.com/watch?v=kwJTpJjLJi4
your title says "motorhead - enter sandman" all my failed titles have the '-' while all titles i tried without '-' worked so you are right that the problem is not URL related, but your problem seems identical to mine ;)
true - I thought in the URL - but you mean the title on youtube. I see.
PS C:\SinusBot> .\youtube-dl.exe --verbose https://www.youtube.com/watch?v=oKoPUYCJIs [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=oKoPUYCJIs'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.22621 [debug] exe versions: none [debug] Proxy map: {} ERROR: Incomplete YouTube ID oKoPUYCJIs. URL https://www.youtube.com/watch?v=oKoPUYCJIs looks truncated. Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 3257, in _real_extract youtube_dl.utils.ExtractorError: Incomplete YouTube ID oKoPUYCJIs. URL https://www.youtube.com/watch?v=oKoPUYCJIs looks truncated.
I couldn't reproduce this with the release (2021.12.17) version: it failed signature extraction.
I tried a similar command without -u ...
using the latest code.
Please update to master code, eg using one of the non-yt-dlp solutions suggested in #31350. Then try the command again with and without -u ...
. If login is required and the login procedure fails, please collect cookies from a logged-in browser session and pass them with --cookies ...
instead of -u ...
(see FAQ).
@Jelfens, your URL is wrong (video id is too short) and not "quoted".
@dirkf Are you saying there is a version that fixes this? The bug is real, I can confirm. And why would a browser session be needed?
I'm having this issue as well trying to run youtube-dl https://youtu.be/t7V_TA-pk2U
.
I found a fix:
brew update
brew reinstall youtube-dl
This worked for me, let me know if it works for anyone else.
Have you (a) looked at the log that I posted (b) updated your yt-dl (which you need to do anyway because of #31530, and other issues) (c) carried out the tests that I suggested?
Specifying cookies from a logged-in browser session (where the target plays correctly) is a standard and more reliable (though more painful) alternative to specifying username and password, if your target videos need authentication: they didn't for me:
$ ls *.mp4
509 $ICARIO - DEADLY HEIST-j1zkJJ6-Ja0.mp4
MoonDeity x Phonk Killer - DEATH DAGGER-FNgGIcwr-Pk.mp4
phonk.me, KIIXSHI - GHOST!-bCQqPUuxyKY.mp4
SHADXWBXRN - COURAGE-YZ5Yo8oXnpg.mp4
SHADXWBXRN - KNIGHT II (MUSIC VIDEO)-K6yQ7JTGp00.mp4
SHADXWBXRN - WARLOCK-x58PcUOeYpU.mp4
$
I've changed the title to make it clear that, as you said, you aren't reporting a duplicate of #31530, which is the Unable to extract uploader id
issue.
@SK86TUD, you didn't make it clear what error you shared with @kaziusj, but based on #32175 I assume it's just that error and not the error (WARNING
) in the new title.
@dirkf you clearly get different feedback and i am confused. As noted, i'm on windows and (afaik) i downloaded the most recent exe from ttps://github.com/ytdl-org/youtube-dl (via the link in the installation section). Is this .exe not the latest version?
Related to this question: using the exe I also just tried downloading one of these videos without specifying a username, but the error stayed identical. (Unable to extract uploader id.. )
PS Maybe a detail: you download mp4s, while i (when yt-dl works) download a .webm and convert it to .mp3 PPS atm i have no idea how to build a windows exe from master :/
having the exact same issue as @kaziusj and have the latest exe
Sorry @dirkf i missed your first comment, let me rephrase with a b and c: a) your logs are different from mine (whether i use -u or not), probably either because you somehow use a different version or because you extract .mp4 instead of the .webm b) like @entr0pnia, i have the most recent windows exe, but that seems to behave differently from your most recent master version c) "If login is required and the login procedure fails, please collect cookies from a logged-in browser session and pass them with --cookies ... instead of -u ... (see FAQ)." login does not seem to be required to get the same error at least, but ill look into it later today. . TBC
...Is this .exe not the latest version?
As you mentioned it, I assumed you had actually read #31530. Do that first. As I clearly stated, my log is from the development master. Possibly because of different crypto Python modules bundled into the Windows .exe, the release version fails well ahead of any error in your log.
@entropia, which "same issue"? If it's just the #31530 issue, look there.
@dirkf sorry, yesterday i actually read your answer in #31530 but then i somehow wasnt able to find the yt-dlp.exe but only the master build (which i was unable to use). I just tried that yt-dlp.exe and it works, thanks!
In my defense, i did state that i used the windows exe and i did post my problem here (and not as an issue at this yt-dlp project). Perhaps future confusion can ben prevented when the logs shows more details than "youtube-dl version 2021.12.17". Apparently, the yt-dlp logs "yt-dlp version stable@2023.03.04 [392389b7d] (win_exe)" which is clearer.
There is a nightly build of yt-dl for Windows from a fork, linked from #31350.
We haven't solved the "Unable to look up account info: HTTP Error 400: Bad Request" issue, but apparently you didn't need to pass -u ...
which triggered it. If the problem reappears, someone will report it again.
The errors/warnings in your log were all at the extraction stage, before any decision to download some format, extract its audio, etc. So options related to those aren't significant.
In case anyone is confused, -
in the title is not relevant.
Checklist
Verbose log
Description
Only for videos that contain a '-' symbol in their title do i get this error message (30+ other videos without '-' in their title went well, in an earlier attempt). The current playlist (5redo) contains the remaining 6 videos that gave me my error, and all have the '-' in their title. As noted, all 6 URLs are valid.
I hope i made no mistakes.. happy squashing!