1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-25 18:27:42 +00:00

[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)
content = self._parse_json(
self._search_regex(r'R\.bindContent\(({.+?})\);', webpage,
'content'), video_id)['content']
self._search_regex(
r'R\.bindContent\(({.+?})\);', webpage,
'content'), video_id)['content']
mpd_url, sources = re.search(
r'(?s)<video[^>]+data-mpd="([^"]+)"[^>]*>(.+?)</video>',
content).groups()