Browse Source

[played] Use `_form_hidden_inputs`

totalwebcasting
Sergey M․ 9 years ago
parent
commit
01b89d5682
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      youtube_dl/extractor/played.py

+ 1
- 3
youtube_dl/extractor/played.py View File

@ -38,9 +38,7 @@ class PlayedIE(InfoExtractor):
if m_error:
raise ExtractorError(m_error.group('msg'), expected=True)
fields = re.findall(
r'type="hidden" name="([^"]+)"\s+value="([^"]+)">', orig_webpage)
data = dict(fields)
data = self._form_hidden_inputs(orig_webpage)
self._sleep(2, video_id)


Loading…
Cancel
Save