aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/fktv.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/fktv.py
parent2514d2635e0c8ff0fb72d00a093a849001df2bdd (diff)
PEP8: applied even more rules
Diffstat (limited to 'youtube_dl/extractor/fktv.py')
-rw-r--r--youtube_dl/extractor/fktv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/fktv.py b/youtube_dl/extractor/fktv.py
index 21b89142c..d09d1c13a 100644
--- a/youtube_dl/extractor/fktv.py
+++ b/youtube_dl/extractor/fktv.py
@@ -32,9 +32,9 @@ class FKTVIE(InfoExtractor):
server = random.randint(2, 4)
video_thumbnail = 'http://fernsehkritik.tv/images/magazin/folge%d.jpg' % episode
start_webpage = self._download_webpage('http://fernsehkritik.tv/folge-%d/Start' % episode,
- episode)
+ episode)
playlist = self._search_regex(r'playlist = (\[.*?\]);', start_webpage,
- 'playlist', flags=re.DOTALL)
+ 'playlist', flags=re.DOTALL)
files = json.loads(re.sub('{[^{}]*?}', '{}', playlist))
# TODO: return a single multipart video
videos = []