[plays] PEP 8

This commit is contained in:
Sergey M․ 2016-02-11 22:02:57 +06:00
parent 6b3fbd3425
commit 28280e8ded

View file

@ -26,8 +26,9 @@ class PlaysTVIE(InfoExtractor):
title = self._og_search_title(webpage) title = self._og_search_title(webpage)
content = self._parse_json( content = self._parse_json(
self._search_regex(r'R\.bindContent\(({.+?})\);', webpage, self._search_regex(
'content'), video_id)['content'] r'R\.bindContent\(({.+?})\);', webpage,
'content'), video_id)['content']
mpd_url, sources = re.search( mpd_url, sources = re.search(
r'(?s)<video[^>]+data-mpd="([^"]+)"[^>]*>(.+?)</video>', r'(?s)<video[^>]+data-mpd="([^"]+)"[^>]*>(.+?)</video>',
content).groups() content).groups()