youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 01b89d5682adaecfd319897683b2043cfc7344c6
parent 46f0f500163f64ed8276466667d6733e036bfa2d
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri, 10 Jul 2015 21:57:29 +0600

[played] Use `_form_hidden_inputs`

Diffstat:
Myoutube_dl/extractor/played.py | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/youtube_dl/extractor/played.py b/youtube_dl/extractor/played.py @@ -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)