【问题标题】:Python 3 - View video from web (ex:youtube)Python 3 - 从网络观看视频(例如:youtube)
【发布时间】:2015-08-01 03:55:56
【问题描述】:

我想知道是否有图书馆或在互联网上观看视频的方法。它不一定是打印出来的孔页。它可能是其中包含视频(足以显示视频) 如果没有,那么有没有办法打开firefox或最好是带有链接的tor浏览器,以便我观看视频?我知道应该有一种很难的方法来查看一个

1) Setup apache server with only the html structure
2) write to file on the html page with the <div> containing the video url and parameters 
3) open up the url so I can view the video my local webpage

注意:我不想下载视频来观看它

【问题讨论】:

    标签: python-3.x video youtube python-webbrowser


    【解决方案1】:

    在 youtube 上,如果您有良好的共享电影权限(用户允许您共享),则在 youtube 电影的底部您有一个菜单:共享、集成、电子邮件。您可以点击 Integrate 并拥有一个 iframe>。将它放在 HTTP 服务器上的 HTML 页面中,然后尽情享受吧,你有一个播放器 youtube,你的电影正在显示。

    <iframe width="560" height="315" src="https://www.youtube.com/embed/id" frameborder="0" allowfullscreen></iframe>
    

    【讨论】:

    • 我或多或少在寻找一个 python 库......或者与 python 相关的东西,可以让我看到视频的标签只能在万不得已但谢谢你的时间跨度>
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-04-08
    • 1970-01-01
    • 2023-03-17
    • 2021-08-15
    • 1970-01-01
    • 2014-05-11
    • 2013-11-04
    相关资源
    最近更新 更多