Hacker News new | ask | show | jobs
by ProAm 1163 days ago
> /usr/bin/env: ‘python’: No such file or directory

Your install is not configured properly. This is a googleable fix. (One example is to use `which python3` as part of your command https://stackoverflow.com/a/73610228)

> ERROR: Unable to extract uploader id;

This is a known bug and already has a fix but has not been packaged or released for youtube-dl but you can fix it yourself or use a different pacakge. https://github.com/ytdl-org/youtube-dl/issues/31530

1 comments

Now in the first week of this issue I half recall the line in the code was pointed out, (possibly it's the one that's now being claimed as not a good fix still listed in the above) in one of the many people reporting the bug, with that being all that needed to be changed ... I didn't feel like at the time, grabbing the source, finding the offending line, and then compile it and besides there would probably be a working binary fix available for download that might have resolved a few other issues. I'd been following along every few days to a week to see there were any links to working forks compatible with older gear ...

That link above as it is presently ... issues/31530 ... lists the following as the fix, below - https://github.com/ytdl-org/youtube-dl/issues/31530#issuecom...

Now my problem is I'm not running Win 13 or the latest linux distro but still I have the best up to date browser I've yet to find that runs on my old system ... and that link does nothing ... if I put the link in another it simply opens back at the top of the parent.

I figure I could copy every recent file one by one from the git repo and play at fooling with my own, but since someone commenting on this topic actually compiled the given source - only to land some old 2021 problem - sigh.

Now I have flipped though what I see in the above ... no fix info ... fucked and bye bye time. The next option touted as the fix sadly does not run on my old system, it could work with the online server but ... how long until ...

It is of course easier for people like me who are no longer or were ever competent programmers, let alone being well versed in python, to pick some other program - I've been told such as IDM will handle youtube antics fine as well as being compatible with older systems, so it may well be worthwhile to purchase a copy.

Oh well youtube-dl .. thanks for the fish.

I can't follow this post very well. yt-dlp I think has this fixed. There is also ways to fix this without having to download youtube-dl file by file as you mention. (see this: https://stackoverflow.com/a/55562973 as a single example) there are are many easy ways to get around this issue. You can do it! Good luck.
Thanks. Unless you're inferring it works in interactive mode, I'll take it as a guide to rebuilding youtube-dl. Is there a link with all the updates in one pack or do I have to create a github account to gain access? Other than that, as an outline of a fix, the stackoverflow link as a solution seems vague to me.

There's a reply made to the current thread here which, to me anyhow, means the listed full source code at github has not been updated.

There are updated individual components - however it's been in the order of 16 years I've decompiled and adjusted and recompiled. It might be worth the effort ... if only youtube-dl was going to keep on sailing onwards. The nah moving to something else commentary informs me that sooner or later updates will probably get slower until such point people won't bother reporting issues - better for my old system to make the move sooner rather than later.

yt -dlp is probably relevant to the cheap online server I use with the latest python installed. I generally didn't use youtube-dl on it, unless the download was going to take some time and better to let the server accumulate it over a few hours. yt-dlp supposedly fixes the trick youtube used to try and discourage cli downloaders.