mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-14 13:44:32 +01:00
playerglobeqien - add fallback to thumbnail extractor
This commit is contained in:
parent
efb9e93d30
commit
59bf7a1f26
@ -57,7 +57,9 @@ class PlayerGlobeWienIE(InfoExtractor):
|
|||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
format_id = self._match_id(url)
|
format_id = self._match_id(url)
|
||||||
webpage = self._download_webpage(url, format_id)
|
webpage = self._download_webpage(url, format_id)
|
||||||
thumbnail = self._html_search_regex(r'<img class="(?:.+?)" src="(?P<thumbnail>.+?)"', webpage, 'thumbnail', group='thumbnail')
|
thumbnail = self._html_search_regex(
|
||||||
|
r'<img class="(?:.+?)" src="(?P<thumbnail>.+?)"',
|
||||||
|
webpage, 'thumbnail', group='thumbnail') or self._og_search_thumbnail(webpage)
|
||||||
description = self._og_search_description(webpage)
|
description = self._og_search_description(webpage)
|
||||||
formats = []
|
formats = []
|
||||||
title = self._og_search_title(webpage)
|
title = self._og_search_title(webpage)
|
||||||
|
Loading…
Reference in New Issue
Block a user