Login into a specific website using python
<p>I would like to use python to log into a website. I know this question has been answered lots of times (on this forum and others) but I'm unable to use any of the techniques to my situation.</p>

<p>Here is the form I have:</p>

<pre><code>&lt;form method="post" name="FRMLogin" action="javascript:checkLogin();"&gt;
&lt;input type="hidden" name="from" value="" /&gt;
&lt;input type="hidden" name="to" value="/index.php" /&gt;
&lt;input class="text" onclick="this.value='';" type="text" name="email" id="loginEmail"     value=""/&gt;
&lt;input class="text" onclick="this.value='';" type="password" name="password" value="" /&gt;
&lt;a href="javascript:document.FRMLogin.submit();"&gt;
&lt;img type="image" src="/blue_ok.png" alt="" /&gt;&lt;/a&gt;
&lt;input type="submit" name="button" class="unvisible" /&gt;
&lt;/form&gt;
</code></pre>

<p>As I told previously, all the methods I've tried seem to fail. How do I check if the login was successful? I try do download via a python script a file that requires the user access (12 pages pdf) and that is only a one page pdf if you're not logged in.</p>

<p>Everybody votes against my questions which surprises me. I thought there were no bad question...</p>

<p>If you have any idea that could work, I would much appreciate!
Thanks a lot by advance.</p>
