ffmpeg

save network stream for one hour

ffmpeg -i http://example.com/live/stream.m3u8 -t 01:00:00 -vn -acodec copy ~/output.aac

strip audio. Set begin time and end time

ffmpeg -i artist1.aac -ss 00:00:00 -to 00:23:16 -c copy artist1_cut.aac