Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4001

Re: Python login script

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.048
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'subject:Python': 0.04; 'changes,': 0.05; 'python': 0.07; 'written': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'subject:login': 0.16; 'text?': 0.16; 'input': 0.18; 'exists': 0.19; 'tue,': 0.20; 'header:In-Reply-To:1': 0.22; 'script.': 0.23; 'assume': 0.25; 'script': 0.26; 'chris': 0.27; 'message-id:@mail.gmail.com': 0.28; 'sends': 0.29; 'does': 0.31; 'to:addr:python-list': 0.32; 'page': 0.33; 'open': 0.35; 'difficult': 0.35; 'doing': 0.36; 'rather': 0.36; 'missing': 0.36; 'some': 0.37; 'should': 0.37; 'received:209.85': 0.37; 'apr': 0.38; 'thread': 0.38; 'received:google.com': 0.38; 'but': 0.38; 'log': 0.38; 'to:addr:python.org': 0.39; 'where': 0.39; 'received:209': 0.39; 'header:Received:5': 0.40; 'gmail': 0.60; '2011': 0.62; 'body': 0.62; 'website.': 0.63; 'response.': 0.67; '26,': 0.68; 'webpage': 0.68; 'login': 0.68; 'received:209.85.210.174': 0.84; 'received:mail- iy0-f174.google.com': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=mTho8rfvvXcGeda5eAF8In44G96Z/MgaAPDrlV/jmCE=; b=ctvqLE8PFSB8vunLVzIwq+PFhPGkNm4xQ3XRouHcXR1NtEYliKSmbWL18XPlStW2+b h1E/TpyC8WyeNO/Io9C0ceyh7BxqubIMCjvzneTSJ2+pR9KnE/HvmLL6Vf4tkscr0Sn9 5h4WtL+mCGBrwB0TwR7ekYJrwf5iw3vlDCJSc=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=hxVzUlRysuUNB0P/88VI7HovjBwL+ce0FX+clNlmS9t62a+X00I6XZnM2d5h5RVASP d0+bGMUkp+wOrFg4dJ2J759JzYijT5AOuldvt02OxQmkouioOPJ/3bWfJN6pdpXuRt4l U66+crU7ybuqT6DzWla20VKBffpYgf4ig+oYg=
MIME-Version 1.0
In-Reply-To <317604.71619.qm@web110507.mail.gq1.yahoo.com>
References <317604.71619.qm@web110507.mail.gq1.yahoo.com>
Date Tue, 26 Apr 2011 07:23:11 +1000
Subject Re: Python login script
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.819.1303766593.9059.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 82.94.164.166
X-Trace 1303766593 news.xs4all.nl 81481 [::ffff:82.94.164.166]:53044
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:4001

Show key headers only | View raw


On Tue, Apr 26, 2011 at 7:15 AM, nusrath ahmed <nusrathahmed@yahoo.com> wrote:
> I have written a python script that should log me in to a website. For the
> time being I want to login to gmail.com. My script pulls up the gmail
> webpage but does not input the login id and the password in the fields and
>  does not log me in. I assume I am missing on something in my script. Can
> some body have a look as to what I am missing on.

Look at the gmail page and see where it sends its form response. And
please, can you continue the thread that already exists rather than
open a new one with nearly-identical text? It gets very difficult to
follow the changes, other than by pulling up your previous email and
doing a visual diff.

Chris Angelico

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: Python login script Chris Angelico <rosuav@gmail.com> - 2011-04-26 07:23 +1000

csiph-web