问题
I want to know the working of youtube-dl.
As i want to make a youtube downloader
for android. I simply want to download mp4 or flv formats from youtube URLs.
How youtube-dl videoID
returns the downlaodable URL
. I simply want to know how can i do it in Android without youtube-dl.
Because i don't know how to run and install python Script to PHP server or Android end.
回答1:
youtube-dl is open-source, so it's no secret how it works. You can simply read the source code. A good start would be the youtube extractor.
来源:https://stackoverflow.com/questions/31675418/download-mp4-flv-url-link-from-youtube-videoid