mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-26 20:22:14 +00:00
[played] Use _form_hidden_inputs
This commit is contained in:
parent
46f0f50016
commit
01b89d5682
1 changed files with 1 additions and 3 deletions
|
@ -38,9 +38,7 @@ class PlayedIE(InfoExtractor):
|
||||||
if m_error:
|
if m_error:
|
||||||
raise ExtractorError(m_error.group('msg'), expected=True)
|
raise ExtractorError(m_error.group('msg'), expected=True)
|
||||||
|
|
||||||
fields = re.findall(
|
data = self._form_hidden_inputs(orig_webpage)
|
||||||
r'type="hidden" name="([^"]+)"\s+value="([^"]+)">', orig_webpage)
|
|
||||||
data = dict(fields)
|
|
||||||
|
|
||||||
self._sleep(2, video_id)
|
self._sleep(2, video_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue