summary refs log tree commit diff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-07-05 10:44:16 +0100
committerRemita Amine <remitamine@gmail.com>2016-07-05 10:44:16 +0100
commit5abf513cf87049b63369e45dd59818136080a68e (patch)
tree52544797e408f3d41a6e61a9da6bc481b3d12386
parentc6054e32017b37b88600772766e0be7947586dd9 (diff)
downloadyoutube-dl-5abf513cf87049b63369e45dd59818136080a68e.tar.gz
youtube-dl-5abf513cf87049b63369e45dd59818136080a68e.tar.xz
youtube-dl-5abf513cf87049b63369e45dd59818136080a68e.zip
[stitcher] fix episode config extraction
-rw-r--r--youtube_dl/extractor/stitcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/stitcher.py b/youtube_dl/extractor/stitcher.py
index d5c852f52..0f8782d03 100644
--- a/youtube_dl/extractor/stitcher.py
+++ b/youtube_dl/extractor/stitcher.py
@@ -56,7 +56,7 @@ class StitcherIE(InfoExtractor):
 
         episode = self._parse_json(
             js_to_json(self._search_regex(
-                r'(?s)var\s+stitcher\s*=\s*({.+?});\n', webpage, 'episode config')),
+                r'(?s)var\s+stitcher(?:Config)?\s*=\s*({.+?});\n', webpage, 'episode config')),
             display_id)['config']['episode']
 
         title = unescapeHTML(episode['title'])