mzeeshanid / MZDownloadManager

This download manager uses NSURLSession api to download files. It can download multiple files at a time. It can download large files if app is in background. It can resume downloads if app was quit.
BSD 3-Clause "New" or "Revised" License
1.12k stars 238 forks source link

Some url working fine on browser but this manager not find #91

Open iChirag opened 4 years ago

iChirag commented 4 years ago

http://hls1s.vidcdn.xyz/streams/ec76127d-11e1-8202-b16c-f73e9f97a6d7/playlist.m3u8?token=Rk8wUUYyMzBValVpWlc1bi9vL0Q1bnVCdWJzMDUzNGgzV1lHa3dHZnZqd0xkVzZJWnV4cGpwUVRLdWJUYjBveg==

Try to download video from this URL, It's not working

can you check it, please?

spraveenk91 commented 4 years ago

Hey @iChirag

Basically, the .m3u8 file is a playlist file which contains list of related .m3u8 file's path or actual .ts video format file. First you have to get to know that your .m3u8 contains which of these. And, based on that, you just have to iterate through the actual .ts file to download.

Additional information in Apple's documentation