X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fnowtv.py;h=0b5ff47600559e50a2282b184b23d3fc7263d46d;hb=97f4aecfc1c5fd446e1d3edd37e49aafe246fe0b;hp=295168432a30ea842f5587e227545b01716ce5ab;hpb=9b254aa177d58b7b4c4f44dce8c38fa7978c7df6;p=youtube-dl.git diff --git a/youtube_dl/extractor/nowtv.py b/youtube_dl/extractor/nowtv.py index 295168432..0b5ff4760 100644 --- a/youtube_dl/extractor/nowtv.py +++ b/youtube_dl/extractor/nowtv.py @@ -53,6 +53,24 @@ class NowTVIE(InfoExtractor): # m3u8 download 'skip_download': True, }, + }, { + # rtlnitro + 'url': 'http://www.nowtv.de/rtlnitro/alarm-fuer-cobra-11-die-autobahnpolizei/hals-und-beinbruch-2014-08-23-21-10-00/player', + 'info_dict': { + 'id': '165780', + 'display_id': 'alarm-fuer-cobra-11-die-autobahnpolizei/hals-und-beinbruch-2014-08-23-21-10-00', + 'ext': 'mp4', + 'title': 'Hals- und Beinbruch', + 'description': 'md5:b50d248efffe244e6f56737f0911ca57', + 'thumbnail': 're:^https?://.*\.jpg$', + 'timestamp': 1432415400, + 'upload_date': '20150523', + 'duration': 2742, + }, + 'params': { + # m3u8 download + 'skip_download': True, + }, }, { # superrtl 'url': 'http://www.nowtv.de/superrtl/medicopter-117/angst/player', @@ -115,7 +133,7 @@ class NowTVIE(InfoExtractor): station = mobj.group('station') info = self._download_json( - 'https://api.nowtv.de/v3/movies/%s?fields=*,format,files,breakpoints,paymentPaytypes,trailers,pictures' % display_id, + 'https://api.nowtv.de/v3/movies/%s?fields=id,title,free,geoblocked,articleLong,articleShort,broadcastStartDate,seoUrl,duration,format,files' % display_id, display_id) video_id = compat_str(info['id'])