aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-04-08 23:33:45 +0600
committerSergey M․ <dstftw@gmail.com>2016-04-08 23:33:45 +0600
commitbacec0397ff2abddac460148e8ceb49989fce6a2 (patch)
treea0b4353bcade58c504ceca34abcf153de8fa8229 /youtube_dl/extractor/common.py
parent3c6c7e7d7e5a7cbf87385bf3c649342c3ee4327d (diff)
[extractor/common] Relax _hidden_inputs
Diffstat (limited to 'youtube_dl/extractor/common.py')
-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 a7324af5c..17d00721c 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -843,7 +843,7 @@ class InfoExtractor(object):
for input in re.findall(r'(?i)<input([^>]+)>', html):
if not re.search(r'type=(["\'])(?:hidden|submit)\1', input):
continue
- name = re.search(r'name=(["\'])(?P<value>.+?)\1', input)
+ name = re.search(r'(?:name|id)=(["\'])(?P<value>.+?)\1', input)
if not name:
continue
value = re.search(r'value=(["\'])(?P<value>.*?)\1', input)