How to login the website from Python when the values of " name " on the input field is like data[user][mail] , not using selenium?
<p>Im trying to login by this code.</p>

<pre><code>res = opener.open(login_url, data)
res.close()
</code></pre>

<p>But some cases , I can not login.
These websites which can not be logged in have same "name" value on input field  pattern like this.</p>

<pre><code>&lt;input name="data[User][mail]" type="text" size="40" value="testuser@google.com" id="UserMail"&gt;
</code></pre>

<p>*I can easily login if the name's values is like simple "username".</p>

<p>Can anyone know how to login with these type of website ?</p>

<p>Thanks!</p>