Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Cannot download videos from https://tvthek.orf.at/ any more #17956
Comments
|
same problem
browser dev tools show downloading segments of the video
|
|
same problem - only a small .f4m file is downloaded |
media_0.ts and media_1.ts means the stream you're viewing in your browser is of the AppleHLS type...
The playlist can be downloaded with yt-dl to get the whole video:
while the subs can be converted to .srt with ffmpeg:
|
|
@Vangelis66: But now I have got some more problems with ORF videos which are divided in some chapters. For example this video: When I type Now I can put each URI in a single command or in a batch file, but this is not very efficient. If I type After downloading each chapter I am using ffmpeg to make one complete MP4 file with all the chapters. Is there a way to do this more efficient? Can youtube-dl download all the chapters and run ffmpeg to make just on single file of them? Thanks and kind regards |
|
Also an upvote from me to have a fix for tvthek, apparently, ORF changed something yesterday or the day before that. Workaround for now:
By the way, the "m3u8" trick works for a lot of pages. For the multi-part files, e.g. Willkommen Österreich, this is a lot of work, but it's better than nothing I guess :-) |
Well... You can at least merge the chapters automatically, e.g. with mkvmerge. mkvmerge -o willkommen_oesterreich chapter1.mp4 chapter2.mp4 chapter3.mp4 ... I think, it also supports "one file = one chapter", but I couldn't make it work yet. As a workaround, you can use MKVToolNix GUI, on the output page, it has a setting "Generating chapters: One chapter for each appended file". another upvote from me for automatically having youtube-dl generate a mkv file, which contains all the chapters from a playlist and where the names of the chapters are the titles of the chapter-files. |
Sorry, but it is much easier to it with a single command: This will give you the same output: Now you can put this in your youtube-dl command line: But for the "multi-chapter-files" it takes too much time. Merging with ffmpeg is no problem, but downloading each chapter from files with sometimes 40 chapters (like "Starnacht") takes too long. Is there no way to do it faster? |
|
Cool, thanks! I think, we need to wait for a fix of youtube-dl. Usually, those fixes come quick, let's see. |
|
With a little bit of shell-script magic, you can do this in one line (if you're running bash or a similar shell): youtube-dl $(youtube-dl "https://tvthek.orf.at/profile/Schlawiner/13889520" -f hls-Q8C-Sehr_hoch -g) |
|
Luckily, your commando gives multiple links, if there are multiple files to download. I have written a little script to download multi-part videos:
|
|
I also have a little Script which runs via crontab every Wednesday and Saturday morning to download the newest episodes from Universum an sent a Mail to the given mail adress: crontab entry:
orfdownloader-Script:
|
|
Cool :-) So, for me, the only missing link is, to automatically add the season + episode number from thetvdb.com, e.g. download a "Universum - 2018x29 Austria - The Power of Water (1) 720p web-dl-tvthek.mp4", move it into the right directory and tell Kodi to refresh the tv show entry. |
So... How do you handle multiple episodes per week? Last week, there was "Atatürk - Vater der modernen Türkei" (Universum History) on Friday and "Unser Österreich - Das Burgenland" (also Universum History) on Tuesday. |
|
In that case i run the script manually! :-) |
|
@websurfer83 wrote:
@annomatik wrote:
@websurfer83, you are overly reliant on "your" method of obtaining the Let's take as an example your previously mentioned episode of Südtirol Heute,
But, URL sniffing via browser reveals the URI of the whole episode master playlist to be:
Of course, all chapter info is absent in the single downloaded file, but I don't think many will care... |
|
Hmmm... So where exactly is the advantage in this approach? If you add a "mkvmerge" to the end of my script, you get the same result, the same filesize (I guess, it's just the same episode but one mp4 instead of many), and you can make chapters out of it, if you want. You don't have to, but you can. Also, it's fully automatable -- you don't have to start the browser, you don't have to look into source files, you can just add the script into a crontab -- done, regular downloading. If you want. Again, you don't have to either. And if youtube-dl works like it did a couple of days ago, you don't even need a script, it just works and automatically downloads all parts of a multi-part episode as well. The scripts posted here are mostly workarounds for something that usually works with youtube-dl without doing anything. Just provide the tv show URL, youtube-dl does the rest. |
|
@Vangelis66: |
|
@websurfer83: There's enough info inside this thread to aid the yt-dl devs towards fully restoring the currently broken Tschüs |
Hello,
since today I cannot download videos from https://tvthek.orf.at/ any more. It seems that ORF changed the delivery of its videos. The normal mp4-file as http-download is gone (it is not present in the source code any more) and the other formats are not downloadable, too (hds and hls).
I tried different videos, but all the same:
https://tvthek.orf.at/profile/Universum/35429/Universum-Oesterreich-Die-Kraft-des-Wassers-1/13992978
https://tvthek.orf.at/profile/Universum-History/6000179/Universum-History-Unser-Oesterreich-Das-Burgenland-Ein-Grenzfall/13992981
Can someone please look at the site and try to get it downloadable?
Thanks and kind regards
websurfer83.