[muenchentv] Fix extraction (Closes #10313)

This commit is contained in:
Sergey M․ 2016-08-13 14:28:44 +07:00
parent bd6fb007de
commit 6a26c5f9d5
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -36,7 +36,7 @@ def _real_extract(self, url):
title = self._live_title(self._og_search_title(webpage)) title = self._live_title(self._og_search_title(webpage))
data_js = self._search_regex( data_js = self._search_regex(
r'(?s)\nplaylist:\s*(\[.*?}\]),related:', r'(?s)\nplaylist:\s*(\[.*?}\]),',
webpage, 'playlist configuration') webpage, 'playlist configuration')
data_json = js_to_json(data_js) data_json = js_to_json(data_js)
data = json.loads(data_json)[0] data = json.loads(data_json)[0]