youtube-dl-php icon indicating copy to clipboard operation
youtube-dl-php copied to clipboard

Need `-U`, `--update` option to help with debugging when problems happen

Open 9x3l6 opened this issue 1 year ago • 3 comments

Also this option -U, --update is required to be used for when submitting issues with youtube-dl/yt-dlp

Provide verbose output that clearly demonstrates the problem
- [] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
- [] If using API, add 'verbose': True to YoutubeDL params instead
- [] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

https://github.com/9x3l6/youtube-dl-php/pull/3

Thank you!

9x3l6 avatar Dec 18 '23 15:12 9x3l6

I don't think that this tool should run in privileged mode to update itself, you should do that manually or with some cronjob

norkunas avatar Dec 20 '23 05:12 norkunas

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: [email protected], Current version: [email protected]
ERROR: You installed yt-dlp with a package manager or setup.py; Use that to update

9x3l6 avatar Dec 25 '23 13:12 9x3l6

But what's the point, if you can do that directly? :)

norkunas avatar Dec 27 '23 06:12 norkunas