aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-09-06 07:20:47 +0600
committerSergey M․ <dstftw@gmail.com>2015-09-06 07:20:47 +0600
commitbe0e5dbd8356e92f8032d4cf8be2e668f1b30539 (patch)
tree3c727ab60ab6e1b27f6a3ff5b788af567a8109ad /youtube_dl/extractor
parentad7291727499590a9449b1e3ba3d7a33b733ddd0 (diff)
[extractor/common] Extract submit inputs
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 39cef9c5b..5eeeda08d 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -733,7 +733,7 @@ class InfoExtractor(object):
def _hidden_inputs(html):
hidden_inputs = {}
for input in re.findall(r'<input([^>]+)>', html):
- if not re.search(r'type=(["\'])hidden\1', input):
+ if not re.search(r'type=(["\'])(?:hidden|submit)\1', input):
continue
name = re.search(r'name=(["\'])(?P<value>.+?)\1', input)
if not name: