Browse Source

[plays] PEP 8

totalwebcasting
Sergey M․ 9 years ago
parent
commit
28280e8ded
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      youtube_dl/extractor/plays.py

+ 3
- 2
youtube_dl/extractor/plays.py 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()


Loading…
Cancel
Save