From: Remita Amine Date: Tue, 5 Jul 2016 09:44:16 +0000 (+0100) Subject: [stitcher] fix episode config extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5abf513cf87049b63369e45dd59818136080a68e;p=youtube-dl [stitcher] fix episode config extraction --- 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'])