youtube-dl

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

commit 1c0163a5cc1d6b8fa5c7b4ee39b28e6e47c8981c
parent 8fa7e5817a37756e4135fcb9daba47fc543be36a
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri, 10 Jul 2015 21:58:49 +0600

[gorillavid] Use `_form_hidden_inputs`

Diffstat:
Myoutube_dl/extractor/gorillavid.py | 7+------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/youtube_dl/extractor/gorillavid.py b/youtube_dl/extractor/gorillavid.py @@ -78,12 +78,7 @@ class GorillaVidIE(InfoExtractor): if re.search(self._FILE_NOT_FOUND_REGEX, webpage) is not None: raise ExtractorError('Video %s does not exist' % video_id, expected=True) - fields = dict(re.findall(r'''(?x)<input\s+ - type="hidden"\s+ - name="([^"]+)"\s+ - (?:id="[^"]+"\s+)? - value="([^"]*)" - ''', webpage)) + fields = self._form_hidden_inputs(webpage) if fields['op'] == 'download1': countdown = int_or_none(self._search_regex(