如何使用 youtube dl?
如何在Windows XP上使用youtube dl下载youtube视频。有什么命令吗?我想将此工具与PHP集成。请帮忙..
How to use youtube dl on Windows XP for downloading youtube videos.Have any commands ?I want to integrate this tool with PHP.Please help..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
下载 youtube-dl 后,只需执行以下操作:
After downloading youtube-dl, just do the following:
不幸的是,当前的 Youtube API 不允许您下载视频。我会推荐类似的东西:
http://www.swfkits.com/swf-to- video-sdk/
我最近用它来自动将SWF转换为MP4,然后存储它。然后我的应用程序会自动将其上传到 YouTube。
完整版并不便宜,大约 900 英镑。然而,这是我发现的唯一可以执行此操作的 CLI(这意味着您可以使用 PHP shell_exec 来运行它)。
我还想补充一点,未经明确同意,您绝对不应该下载不属于您自己的 YouTube 视频。
[编辑] - 抱歉,我没有发布你已经有一个 YouTube 下载器脚本(直到 Gaurav Gupta 在下面回答 - 使用他的答案) - 也许在问题中使这一点更清楚?这些标签只提到了 Youtube API,对实际脚本的引用是模糊且令人困惑的。
Unfortunately the current Youtube API doesn't allow you to download videos. I would recommend something like:
http://www.swfkits.com/swf-to-video-sdk/
I used this recently to automatically convert SWF to MP4, then store that. My application then uploading this to youtube all automatically though.
It is not cheap for the full version, around £900. However it is the only CLI I found that does this (meaning you can use PHP shell_exec to run it).
May I also add that you should never download youtube videos that aren't your own without express consent.
[EDIT] - Sorry, I didn't release you already had a youtube downloader script (until Gaurav Gupta answered below - use his answer) - maybe make this clearer in the question? The tags only mention the Youtube API and the reference to the actual script is vague and confusing.