download robot

2009-04-12 Thread larryzhang
Hi, Being a newbie for Python, I am trying to write a code that can act as a downloading robot. The website provides information for companies. Manually, I can search by company name and then click the “download” button to get the data in excel or word format, before saving the file in a local dir

Re: a newbie question

2009-04-12 Thread larryzhang
On Apr 12, 11:01 pm, Peter Otten <__pete...@web.de> wrote: > zhangle2...@gmail.com wrote: > > I am just learning Python and get a problem when trying this example: > > > from urllib import urlopen > > doc=urlopen("http://www.python.org";).read() > > print(doc) > > > when i run this, i was tould tha

Pass ID and password to the server

2009-04-13 Thread larryzhang
Hi, I am trying to grab webpages from a site that requires user ID and password, is there a way that I can pass my ID and password to the server? Thanks. Larry -- http://mail.python.org/mailman/listinfo/python-list

authentication example with urllib.request

2009-04-24 Thread larryzhang
Dear all, I am trying to download data from a website that requires authentication (maybe with cookies). Any suggestions on how i can do this with the urllib.request module in py3? Where can I can find some working examples? Thanks a lot. Larry -- http://mail.python.org/mailman/listinfo/python-li