-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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-dl: some YouTube videos fail w/ AttributeError: 'NoneType' object has no attribute 'group'
#150843
Comments
youtube-dl is seemingly abandoned, superseded by youtube-dlp (a mostly-drop-in replacement fork) |
Yeah, unfortunately youtube-dl seems to have "died" (it was always undermaintained, IIRC) without an official successor. We could consider deprecating the package. Might be worth checking how other Linux distributions handle this. I have done some quick research a couple of days ago to look at the current situation. Unfortunately, youtube-dl seems unmaintained:
And there are a lot of unanswered issues about it, e.g.:
There is no official successor but fortunately things seem to converge
|
youtube-dl just got a new version, actually. |
Was this solved? O.o |
Everything I'm reading online points to 'we should probably package |
It was already packaged. |
As for
I've switched to |
Describe the bug
Attempting to download seemingly any video with music fails with
AttributeError: 'NoneType' object has no attribute 'group'
. This is probably caused by YouTube changing the pages it serves; I checked my shell history and videos which were playable yesterday are now broken.Steps To Reproduce
Steps to reproduce the behavior:
nix-env -f https://github.com/NixOS/nixpkgs/archive/nixos-21.11.tar.gz -iA youtube-dl
youtube-dl https://www.youtube.com/watch?v=mgsayvglv5o
Examples of videos which cause the error: mgsayvglv5o EFEmTsfFL5A
Example of a working video: WLIfbiTUMiU
Expected behavior
Video downloads in best format (w/o flags) / a list of formats is printed (w/
-F
).Notify maintainers
@bluescreen303 @Phreedom @AndersonTorres @fpletz @Ma27
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: