how to download a video from the orf tvthek
- open the tvthek page with the video you want to download
- open the dev tools
- open the network tab
- search for 'playlist'
- open
playlist.m3u8
, and open the 'response' tab - look for the highest given bandwidth (usually at the bottom, e.g.
#EXT-X-STREAM-INF:BANDWIDTH=3192000
) - copy the url below that, open it in a new browser tab and download it (e.g.
https://apasfiis.sf.apa.at/ipad/cms-worldwide_abr/.../chunklist.m3u8&ip=...
)
- open bash
- go to the folder you downloaded the chunklist playlist to (e.g.
chunklist.m3u
)
- go to the folder you downloaded the chunklist playlist to (e.g.
# download each .ts file specified in the playlist
cat chunklist.m3u8 | grep -o ^.*\.ts | while read url; do wget $url; done
# stitch the .ts files together
find media_* | sort -V | xargs cat > joined.ts
- you can now open
joined.ts
in media players like vlc or the app called "movies and tv" integrated in windows 10
note that if the chunklist.m3u
or chunklist.m3u8
file contains no full urls but only file names, use the following command instead:
# download each .ts file specified in the playlist
cat chunklist.m3u8 | grep -o ^.*\.ts | while read url; do wget {URL}$url; done
where {URL}
should be replaced with the path to the media*.ts
files, such as https://apasfiis.sf.apa.at/cms-austria_nas/_definst_/nas/cms-austria/online/2020-01-26_2305_sd_02_dokFilm--Back-t_____14039389__o__1216294778__s14632510_0__ORF2HD_23042611P_00203011P_Q8C.mp4/
@Arnold1
actually, better forget about this and use yt-dlp instead https://github.com/yt-dlp/yt-dlp
for example: