How can I login in a website with Pyhon?

Posted by Shady on Stack Overflow See other posts from Stack Overflow or by Shady
Published on 2010-05-26T05:17:17Z Indexed on 2010/05/26 5:21 UTC
Read the original article Hit count: 263

Filed under:
|
|

How can I do it? I was trying to enter some specified link (with urllib), but to do it, I need to log.

I have this source from the site

<form id="login-form" action="auth/login" method="post">
                    <div>
                    <!--label for="rememberme">Remember me</label><input type="checkbox" class="remember" checked="checked" name="remember me" /-->

                    <label for="email" id="email-label" class="no-js">Email</label>

                    <input id="email-email" type="text" name="handle" value="" autocomplete="off" />

                    <label for="combination" id="combo-label" class="no-js">Combination</label>

                    <input id="password-clear" type="text" value="Combination" autocomplete="off" />
                    <input id="password-password" type="password" name="password" value="" autocomplete="off" />
                                        <input id="sumbitLogin" class="signin" type="submit" value="Sign In" />

It's possible?

© Stack Overflow or respective owner

Related posts about python

Related posts about Windows