You might have to play around a bit.
The .m3u8 files in the URLs seem to contain a large number of audio & video streams, but you can pick out the ones you want with -map.
Read the docs on -map in ffmpeg & try it out on the commandline. I was able to get it to work with:
ffmpeg -fflags +genpts -i 'http://dr02-lh.akamaihd.net/i/live/dr02_0@147055/master.m3u8?b=100-4000' -copy_unknown -c copy -map 0:0 -map 0:1 -metadata service_name=dr2 -f mpegts test.ts
Note that I've dropped the -headers User-Agent:blah\ blah parameter [some services need User-Agent, this one seems to work without] and changed from -map 0 to -map 0:0 -map 0:1.
I suggest you download the .m3u8 files [try wget http://dr04-lh.akamaihd.net/i/live/dr04_0@147057/master.m3u8] and see if you can work out which streams you want, alter the map parameters to suit and try it out like I've shown. Once you have something that works on the commandline, you should be able to drop it into your .m3u8 file [but without the test.ts on the end].
When you run ffmpeg it will show a bunch of output while it's trying to open & analyse the streams, eventually you'll see something like this:
Input #0, hls,applehttp, from '
http://dr02-lh.akamaihd.net/i/live/dr02_0@147055/master.m3u8?b=100-4000':
Duration: N/A, start: 23730.943667, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 363000
Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 363000
Stream #0:1: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 363000
Stream #0:2: Data: timed_id3 (ID3 / 0x20334449)
Metadata:
variant_bitrate : 363000
Program 1
Metadata:
variant_bitrate : 363000
Stream #0:3: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 363000
Stream #0:4: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
Metadata:
variant_bitrate : 363000
Stream #0:5: Data: timed_id3 (ID3 / 0x20334449)
Metadata:
variant_bitrate : 363000
... and so on
The 'Stream #x:y' lines tell you what you'll need in the -map parameters for that particular program, so my example above picks out the 1st video 0:0 and 1st audio 0:1 streams. In reality you'd probably want to try Program 4 or 5 for better resolution.