From 07607b7a22f64364209886e5dced5c9f6a70f539 Mon Sep 17 00:00:00 2001 From: Paul Hartmann Date: Mon, 31 Oct 2016 17:07:00 +0100 Subject: [PATCH] select better title (thanks jaimeMF for the hint) --- youtube_dl/extractor/zdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/zdf.py b/youtube_dl/extractor/zdf.py index 8f6e07372..8218b4ef9 100644 --- a/youtube_dl/extractor/zdf.py +++ b/youtube_dl/extractor/zdf.py @@ -42,7 +42,7 @@ class ZDFIE(InfoExtractor): meta_data_url_template = main_video_content['http://zdf.de/rels/streams/ptmd-template'] meta_data_url = 'https://api.zdf.de' + meta_data_url_template.replace('{playerId}', player_id) - title = main_video_content['title'] + title = content_json['title'] meta_data = self._download_json(meta_data_url, video_id, note='Downloading meta data')