From 631108c15a859c316651825eac8918905d71b8eb Mon Sep 17 00:00:00 2001 From: Alexander Seiler Date: Thu, 6 Dec 2018 19:47:38 +0100 Subject: [PATCH] [ARD:mediathek] Code review changes --- youtube_dl/extractor/ard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/ard.py b/youtube_dl/extractor/ard.py index cf190ba7a..84e96f769 100644 --- a/youtube_dl/extractor/ard.py +++ b/youtube_dl/extractor/ard.py @@ -183,7 +183,8 @@ class ARDMediathekIE(InfoExtractor): 'description', webpage, 'meta description', default=None) if description is None: description = self._html_search_regex( - r'(.*?)

', webpage, 'teaser text') + r'(.+?)

', + webpage, 'teaser text', default=None) # Thumbnail is sometimes not present. # It is in the mobile version, but that seems to use a different URL