mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-03 00:42:51 +08:00
[heise] fix my non-sense in title extraction
This commit is contained in:
parent
18f011fd03
commit
60b76bdb01
@ -74,9 +74,9 @@ class HeiseIE(InfoExtractor):
|
||||
if not title or title == "c't":
|
||||
title = self._search_regex(
|
||||
r'<div[^>]+class="videoplayerjw"[^>]+data-title="([^"]+)"',
|
||||
webpage, 'title', default=None, fatal=False)
|
||||
webpage, 'title', default=None)
|
||||
if not title:
|
||||
self._og_search_title(webpage)
|
||||
title = self._og_search_title(webpage)
|
||||
|
||||
yt_urls = YoutubeIE._extract_urls(webpage)
|
||||
if yt_urls:
|
||||
|
Loading…
Reference in New Issue
Block a user