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.
[ARD:mediathek] Bypass age restrictions #11129
Comments
|
Wow, it's as simple as that… I tried the patch and it seems to work. |
What is the purpose of your issue?
Description of your issue, suggested solution and other information
The ARD:Mediathek has this funny "feature" whereby certain videos are not
available during (CET/CEST) daytime, using server-side time checks. They do
this do protect children (with arguable value), but they are also imposing
inconvenience upon everyone in other timezones.
The restriction can easily be circumvented, e.g. using this
site, and it'd be trivial to add this to
youtube-dl.
The following instructions have been worked out by Birk Blechschmidt, who
shared this info with me specifically for the purpose of this feature request:
Given a URL like
http://www.ardmediathek.de/tv/Tatort/Echolot/Das-Erste/Video?bcastId=602916&documentId=38642286
extract the documentID
Call
http://mediathek.daserste.de/play/media/{$documentId}?devicetype=pc&features=flash
with
{$documentID}replaced by the extracted ID. This will yielda JSON structure.
From the contained
_mediaArrayarray, extract the object that has_plugin == 1. There will be a sibling_mediaStreamArrayarray whichlists all the available direct download/stream URLs (
_stream) togetherwith a
_qualitylabel (integer, the higher the better…)You can inspect the JSON dump like this:
It'd be great to have this