471,355 Members | 2,067 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,355 software developers and data experts.

Sending cookies with python. When download with python

I need to download files off a password protected website. So if I try
to download files off the site with python I will be blocked. Is there
anyway to send cookies with python. So I will be authenticated.

Jun 5 '07 #1
1 1270
On Jun 5, 9:14 am, moishyyeh...@gmail.com wrote:
I need to download files off a password protected website. So if I try
to download files off the site with python I will be blocked. Is there
anyway to send cookies with python. So I will be authenticated.
Yes. I haven't done it but I know you should be looking at urllib2 and
cookielib. I'm sure you can find some examples online. Dive Into
Python (google it) has some examples that may help you get started
with more general purpose use of urllib2.

Matt

Jun 5 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Michael Evanchik | last post: by
3 posts views Thread by Beryl Small | last post: by
13 posts views Thread by yawnmoth | last post: by
1 post views Thread by onceuponapriori | last post: by
2 posts views Thread by Gilles Ganault | last post: by
13 posts views Thread by ofiras | last post: by
2 posts views Thread by Gilles Ganault | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.