1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-02 10:29:28 +00:00

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')
info = self._extract_video_info(url, clip_id)
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:
description = self._og_search_description(webpage, default=None)
thumbnail = self._og_search_thumbnail(webpage)