aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/jukebox.py
diff options
context:
space:
mode:
authorJouke Waleson <jouke.waleson@mendix.com>2014-11-23 21:39:15 +0100
committerJouke Waleson <jouke.waleson@mendix.com>2014-11-23 21:39:15 +0100
commit9e1a5b845586a0a5431fb72467142046d8571e6f (patch)
treef8a176e249aedef136f6bc8e21bd75a42496f24f /youtube_dl/extractor/jukebox.py
parent2514d2635e0c8ff0fb72d00a093a849001df2bdd (diff)
PEP8: applied even more rules
Diffstat (limited to 'youtube_dl/extractor/jukebox.py')
-rw-r--r--youtube_dl/extractor/jukebox.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/jukebox.py b/youtube_dl/extractor/jukebox.py
index 5aa32bf09..da8068efc 100644
--- a/youtube_dl/extractor/jukebox.py
+++ b/youtube_dl/extractor/jukebox.py
@@ -36,7 +36,7 @@ class JukeboxIE(InfoExtractor):
try:
video_url = self._search_regex(r'"config":{"file":"(?P<video_url>http:[^"]+\?mdtk=[0-9]+)"',
- iframe_html, 'video url')
+ iframe_html, 'video url')
video_url = unescapeHTML(video_url).replace('\/', '/')
except RegexNotFoundError:
youtube_url = self._search_regex(
@@ -47,9 +47,9 @@ class JukeboxIE(InfoExtractor):
return self.url_result(youtube_url, ie='Youtube')
title = self._html_search_regex(r'<h1 class="inline">([^<]+)</h1>',
- html, 'title')
+ html, 'title')
artist = self._html_search_regex(r'<span id="infos_article_artist">([^<]+)</span>',
- html, 'artist')
+ html, 'artist')
return {
'id': video_id,