Browse Source

[heise] PEP 8

master-ytdl-org
Sergey M․ 7 years ago
parent
commit
7f4921b38d
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/heise.py

+ 2
- 2
youtube_dl/extractor/heise.py 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="([^"]+)"',
webpage, 'title')
r'<div[^>]+class="videoplayerjw"[^>]+data-title="([^"]+)"',
webpage, 'title')
yt_urls = YoutubeIE._extract_urls(webpage) yt_urls = YoutubeIE._extract_urls(webpage)
if yt_urls: if yt_urls:


Loading…
Cancel
Save