removed fatal=False from search for description regex. default=None should be preferred only

This commit is contained in:
Thomas Christlieb 2017-02-01 11:57:34 +01:00
parent 0042f61b07
commit ab98a3c043

View File

@ -375,7 +375,7 @@ class ProSiebenSat1IE(ProSiebenSat1BaseIE):
title = self._html_search_regex(self._TITLE_REGEXES, webpage, 'title') title = self._html_search_regex(self._TITLE_REGEXES, webpage, 'title')
info = self._extract_video_info(url, clip_id) info = self._extract_video_info(url, clip_id)
description = self._html_search_regex( description = self._html_search_regex(
self._DESCRIPTION_REGEXES, webpage, 'description', default=None, fatal=False) self._DESCRIPTION_REGEXES, webpage, 'description', default=None)
if description is None: if description is None:
description = self._og_search_description(webpage, default=None) description = self._og_search_description(webpage, default=None)
thumbnail = self._og_search_thumbnail(webpage) thumbnail = self._og_search_thumbnail(webpage)