mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 02:25:11 +00:00
[extractor/common] Extract submit inputs
This commit is contained in:
parent
ad72917274
commit
be0e5dbd83
1 changed files with 1 additions and 1 deletions
|
@ -733,7 +733,7 @@ def _twitter_search_player(self, html):
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue