3 ms·
It is probably my incompetence and arrogance. I am not that proficient in the unix shell yet. I was trying to run the entire thing from the command line, but al
by O_H_E 7y ago
It is probably my incompetence and arrogance. I am not that proficient in the unix shell yet. I was trying to run the entire thing from the command line, but also tried a couple of putting it in a function names `youtube-url` without success. I was stubborn and trying to use it like that `youtube-url fmt "https://you..."` https://you..."` and never got what you wrote in the usage section because I had `youtube-url` twice in the output (so I was never actually piping the url to that command)
But now after you said "script", I tried putting it in its own fine giving it an honest read/try. Figured out you are using netbsd, as Ubuntu's (and by definition Debian) `ftp` doesn't have an `-o` option.
After deleting the o now I get
source url: https://www.youtube.com/watch?v=CneL0GoZ3tk
video url:
ftp: https://www.youtube.com/watch?v=CneL0GoZ3tk: Name or service not known
> When YouTube occasionally makes a change I can fix it immediately rather than waiting for someone else to fix youtube-dl
I hear you. Had to download manually the latest ytdl development versions before they were packaged before.
EDIT: know what, you don't have to waste much time on me as it looks like there 'might' be more differences with grep/sed (who am I to know)
I should not be here nor on my command line wasting time anyway. Have a ton of work to do to graduate on time.
- 3xblah 7y agoTested on Linux. ftp package is called tnftp. You can substitute curl -4o, wget -4O, fetch -4o or whatever client you prefer for downloading files.