4

我想要类似的东西:
https ://itunes.apple.com/us/app/video-download-ibolt-downloader/id481606548?mt=8

我想检测网页中是否有任何视频,并希望将该流下载到 iPhone 设备中。

在控制台媒体播放器中告诉它正在将电影路径设置为某个 URL。必须有一种方法可以下载流并保存在本地设备中。

PS:我知道如何下载视频文件。我希望它使用在线流媒体或不提供下载链接的网站。

P.S++:从 HTML + UIWebView 下载视频没有帮助。

谢谢。

4

1 回答 1

1

The post is old but it might be worth to clear this

Those apps are probably using undocumented API. Apple doesn't accept private API when apps are submitted to the app store, however they might not be looking for usage of undocumented notifications

You can find more information in here and here

Those apps show you the download button after you click video, and after the video starts. So probably they are listening for media playback notifications and get the url from MPMoviePlayer instance.

By the way, apple doesn't allow apps that download videos from youtube. There might be some apps on the app store that does that, but I recently got rejected because of this. It might not be worth the hassle, as most big video streaming websites don't want people downloading their videos and work hard to make sure that they don't.

于 2013-12-03T21:01:20.760 回答