[extractor/common] Improve _form_hidden_inputs and rename to _hidden_inputs

This commit is contained in:
Sergey M․ 2015-07-14 22:36:30 +06:00
parent 9750e7d70e
commit f8da79f828
11 changed files with 21 additions and 14 deletions

View file

@ -78,7 +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 = self._form_hidden_inputs(webpage)
fields = self._hidden_inputs(webpage)
if fields['op'] == 'download1':
countdown = int_or_none(self._search_regex(