Browse Source

[stitcher] fix episode config extraction

totalwebcasting
Remita Amine 9 years ago
parent
commit
5abf513cf8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/stitcher.py

+ 1
- 1
youtube_dl/extractor/stitcher.py 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'])


Loading…
Cancel
Save