[heise] PEP 8

This commit is contained in:
Sergey M․ 2017-09-23 07:26:40 +07:00
parent f70ddd4aeb
commit 7f4921b38d
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -60,8 +60,8 @@ class HeiseIE(InfoExtractor):
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: