-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何处理不带Content-Length等链接下载? #55
Comments
@yinghualuowu 这不支持分段下载哦,直接下就好 |
dotnetCampus.FileDownloader/src/dotnetCampus.FileDownloader/SegmentFileDownloader.cs Line 215 in dca9c34
想使用 dotnetCampus.FileDownloader 实现flv直播流下载功能,但内部有判断 if (contentLength <= 0) 有尝试注释掉该判断,但还是会莫名其妙的提示下载完成. |
@yinghualuowu 这时不太合适用这个库哦,现在这个库只有分段下载的功能,还在逐步加上 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
比如有一些直播流的视频链接,不存在长度标记,但可以下载。如果把下载的文件改成对应视频文件是可以打开的.
以下截图是谷歌浏览器下载和fiddler抓包。直播链接只在直播时有效,所以无法提供实时的下载链接
The text was updated successfully, but these errors were encountered: