Comments (3)
这两个 URL 实际对应的文件 URL 是:
https://youku.com-t-youku.com/20190329/11010_06976355/1000k/hls/index.m3u8
https://youku.cdn2-youku.com/20180707/12986_0929b432/1000k/hls/index.m3u8
你可以直接使用这两个 URL 下载试试看。
from wlm3u.
感谢解答.
这两个可以下载, 不过接口返回是视频就是那个m3u8, 那就只有先自己解析拿到下一层m3u8地址了~
还有就是, 下载时点击 "pause" 会抛出异常:
Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=260 "The file “b2b425190a5000046.ts” couldn’t be opened because there is no such file." UserInfo={NSFilePath=~/Library/Developer/CoreSimulator/Devices/C4C211A9-9CDD-443B-9CB7-F02E8E3E45DB/data/Containers/Data/Application/C94A6D12-67FA-44C6-89C7-0E67840C5F6A/Documents/WLM3U/index/ts/b2b425190a5000046.ts, NSUnderlyingError=0x600003ff7fc0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}: file ~/Downloads/WLM3U-master/Sources/Workflow.swift, line 459
from wlm3u.
好的,WLM3U 暂不支持解析后重定向,所以需要业务先处理一下。
抛出异常的问题我会尽快处理,谢谢反馈~
from wlm3u.
Related Issues (9)
- 请问是否支持下载某个时间段? HOT 1
- 换了可以播放的m3u8视频地址,都不能用,要做啥设置吗 HOT 2
- 点击下载,无法完成下载操作 HOT 1
- The Progress and Completion don't match HOT 1
- OC代码如何使用啊????给个建议啊 HOT 4
- M3u8
- 有类型下载不了 HOT 7
- 递归导致奔溃
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wlm3u.