View Single Post
  #1  
Old 09-14-2015, 03:55 AM
ItsAngel ItsAngel is offline
Senior Member
 
Join Date: Jul 2012
Posts: 102
ItsAngel is on a distinguished road
Default

can i add a url before .ts files in a m3u8 file to batch download all .ts parts?


hey guys, sorry for the confusing title. is there any way to add one url for all the .ts files to download from? i have to use ffmpeg on the m3u8 file AFTER i edit the key file url (if i try and download via http://example.m3u8 then the file has the wrong key file URL thus wont download. so i must download it and edit it) But when i do that i get this in the .M3u8

#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="http://Example.key"
#EXTINF:10,
x_xxxx_xxx_xxx_xxx_.ts
#EXTINF:10,
x_xxxx_xxx_xxx_xxx_.ts
#EXTINF:10,
x_xxxx_xxx_xxx_xxx_.ts
#EXTINF:10,

I know the url that goes before all the x_xxxx_xxx_xxx_xxx_.ts so is there anyway to batch download without me having to physically go through all (over 1,000 in this case) and paste the first half of the .ts urls? maybe a some script or something?
Thanks in advanced!

EDIT: i edited all the file/url names out due to this being a recently "patched" way to download files from a certain site and i dont want it to get patched again.
Reply With Quote