Is there a way to only get the url when using youtube-dl or yt-dlp embedded in python code?
It seems that --get-url is not in the YoutubeDL class' available options.
I tried i think all logical way to pass --get-url, e.g. geturl, getUrl, get_url, ...
There must be a way since the executable can do it. I wanted to "reverse engineer" it but the code execution order is kinda hard to track since I don't know python very well.