如何使用Python登录网站?

我该怎么做?我试图输入一些指定的链接(使用urllib),但是要执行此操作,我需要登录。


我从网站上获得了这个来源:


<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" />

这可能吗?


小唯快跑啊
浏览 1364回答 3
3回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python