By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,587 Members | 1,667 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,587 IT Pros & Developers. It's quick & easy.

download image from

P: n/a
Dear Pythoners,

Could you please help me look at a code, which is to download image
from I wish to download images from
automatically. You can get the code at
There is still some problem with the code. I do not know much about
regular expression. There seems to be something wrong with the line of
"compile_obj = re.compile(r'dyn.Img\(".*?",".*?",".*?","(.*?)"')" .
Could you please help me debug it? And I aslo hope to download the
first 10 pages of the images, how can I do this?

Thank you so much ! Good night!

He Jibo
He Jibo
Department of Psychology,
Beckman Institute for Advanced Science and Technology
University of Illinois, Urbana Champaign,
603 East Daniel St.,
Champaign, IL 61820
Tel: 217-244-4461(office)
Email: he****
Yogi Berra - "Half the lies they tell about me aren't true."
Oct 30 '08 #1
Share this Question
Share on Google+
1 Reply

P: n/a
##compile_obj = re.compile(r'dyn.Img\(".*?",".*?",".*?","(.*?)"')
compile_obj = re.compile(r'\<img src="([^"]+?)"')

Oct 30 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.