mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[heise] PEP 8
This commit is contained in:
parent
f70ddd4aeb
commit
7f4921b38d
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue