mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-25 04:35:52 +01:00
[heise] PEP 8
This commit is contained in:
parent
f70ddd4aeb
commit
7f4921b38d
@ -60,8 +60,8 @@ def _real_extract(self, url):
|
|||||||
title = self._html_search_meta('fulltitle', webpage, default=None)
|
title = self._html_search_meta('fulltitle', webpage, default=None)
|
||||||
if not title or title == "c't":
|
if not title or title == "c't":
|
||||||
title = self._search_regex(
|
title = self._search_regex(
|
||||||
r'<div[^>]+class="videoplayerjw"[^>]+data-title="([^"]+)"',
|
r'<div[^>]+class="videoplayerjw"[^>]+data-title="([^"]+)"',
|
||||||
webpage, 'title')
|
webpage, 'title')
|
||||||
|
|
||||||
yt_urls = YoutubeIE._extract_urls(webpage)
|
yt_urls = YoutubeIE._extract_urls(webpage)
|
||||||
if yt_urls:
|
if yt_urls:
|
||||||
|
Loading…
Reference in New Issue
Block a user