How can I get the url of the uploaded video programattically?
After I upload a video, it prints the video url to STDOUT, but there are also many more information there. I need the url, and only the url, to do things with it.
My current guess is, that I use regexes to filter the url from stdout, and then maybe check whether or not the url is valid. But I'm wondering if there is a better way to do it.
(My secret wish is, that there is some flag, that tells the script to only print the url to stdout, and to print everything else to stderr. But I think this may be asking for too much.)