[ARD:mediathek] Code review changes

This commit is contained in:
Alexander Seiler 2018-12-06 19:47:38 +01:00
parent 7bb3a0c7f8
commit 631108c15a

View File

@ -183,7 +183,8 @@ class ARDMediathekIE(InfoExtractor):
'description', webpage, 'meta description', default=None)
if description is None:
description = self._html_search_regex(
r'<p\s+class="teasertext">(.*?)</p>', webpage, 'teaser text')
r'<p\s+class="teasertext">(.+?)</p>',
webpage, 'teaser text', default=None)
# Thumbnail is sometimes not present.
# It is in the mobile version, but that seems to use a different URL