aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/fktv.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-11-23 22:10:26 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-11-23 22:10:26 +0100
commit27f8b0994e9924724c974f46435552d401f5fc08 (patch)
treefa3ab829cc1e81a43f955ca9442ce59dfee6440b /youtube_dl/extractor/fktv.py
parente311b6389a7582eef6f3f8ca4b41edd4efd6cd55 (diff)
parentfab6d4c048f56aa1c36897396a7fb590ae415d66 (diff)
Merge remote-tracking branch 'jtwaleson/master'
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 = []