Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'nasty': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; '(sorry': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; ':-)': 0.16; 'module': 0.19; 'trying': 0.19; "python's": 0.19; 'help.': 0.21; 'header :User-Agent:1': 0.23; 'parse': 0.24; 'header:X-Complaints-To:1': 0.27; 'writes:': 0.31; 'info': 0.35; 'something': 0.35; 'but': 0.35; 'in:': 0.36; 'library.': 0.36; 'charset:us-ascii': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'received:217': 0.63; 'email addr:gmail.com': 0.63; 'url:user': 0.65; 'login.': 0.93; 'url:sid': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: dieter Subject: Re: Cookie or not..? Date: Tue, 03 Sep 2013 08:02:01 +0200 References: <1ad0741f-b1a7-4226-bda6-8a4f194243fb@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e08d22.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:Y3Cf9uKYKz2xlagQg4kIqEpHAzI= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378188138 news.xs4all.nl 15923 [2001:888:2000:d::a6]:49498 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53556 mrcoludk@gmail.com writes: > I am a Python noob, and need some help. I am trying to log in to website using python and parse info after login. > > In a browser, this link will log me in and keep me loged in: > http://[domain].com/loginh.aspx?SID=[xxx]&USER=[xxx]&PW=[xxx] > > (sorry for the tripple x, but it is actually not something nasty :-) ) Look at the "cookielib" (called "cookiejar" for Python 3) module in Python's library.