Closed 9x3l6 closed 6 days ago
I don't think that this tool should run in privileged mode to update itself, you should do that manually or with some cronjob
When I run it it fail, actually and while doing so it prints the version info with a warning. I think it should be fine to add this option since youtube-dl itself has a protection mechanism.
yt-dlp -U
Available version: stable@2023.11.16, Current version: stable@2023.07.06
ERROR: You installed yt-dlp with a package manager or setup.py; Use that to update
But what's the point, if you can do that directly? :)
Also this option
-U, --update
is required to be used for when submitting issues withyoutube-dl
/yt-dlp
https://github.com/9x3l6/youtube-dl-php/pull/3
Thank you!