View Single Post
  #2  
Old 08-08-2017, 09:17 AM
sscomp32 sscomp32 is offline
Senior Member
 
Join Date: Apr 2014
Posts: 167
sscomp32 is on a distinguished road
Default

Re: How to detect stream address in an Android app


Quote:
Originally Posted by Mr0aj View Post
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=192000,RESOLUTION=144x176
../134657/video.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=320000,RESOLUTION=240x320
../134655/video.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=576000,RESOLUTION=320x480
../134653/video.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=832000,RESOLUTION=480x640
../134648/video.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1628000,RESOLUTION=720x1280
../134659/video.m3u8
GET /videos/2017/7/134657/video.m3u8 HTTP/1.1
User-Agent: InstaPlay Android SDK/1.0.0 (Linux;Android 6.0.1) ExoPlayerLib/2.2.0
Host: d1s3oezf1vtq1t.cloudfront.net
Connection: Keep-Alive
Accept-Encoding: gzip
Combine the blue and green items like this.

http://d1s3oezf1vtq1t.cloudfront.net/videos/2017/7/134657/video.m3u8

The items in red are quality option. replace the text 134657 with the quality you want.

After that use streamlink to download.
Reply With Quote