mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-13 05:14: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):
|
||||
format_id = self._match_id(url)
|
||||
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)
|
||||
formats = []
|
||||
title = self._og_search_title(webpage)
|
||||
|
Loading…
Reference in New Issue
Block a user