1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-24 00:32:34 +00:00

[stitcher] fix episode config extraction

This commit is contained in:
Remita Amine 2016-07-05 10:44:16 +01:00
parent c6054e3201
commit 5abf513cf8

View file

@ -56,7 +56,7 @@ class StitcherIE(InfoExtractor):
episode = self._parse_json( episode = self._parse_json(
js_to_json(self._search_regex( 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'] display_id)['config']['episode']
title = unescapeHTML(episode['title']) title = unescapeHTML(episode['title'])