1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 21:46:54 +01: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()