I have a text file with something like this:
duration: 17100
series: 2016
episode: 58
modesizes: original: hd1=9120MB,hd2=7543MB,sd1=4872MB,high1=2833MB,low1=634MB
runtime: 285
duration: 13740
series: 2016
episode: 59
modesizes: original: hd1=9024MB,hd2=7203MB,sd1=5104MB,high1=2950MB,low1=570MB
runtime: 229
I would like to extract duration, episode and modesizes.
Output should look like this:
13740,59,9024MB,7203MB,5104MB,2950MB,570MB