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 flickr.com

P: n/a
Dear Pythoners,

Could you please help me look at a code, which is to download image
from flickr.com? I wish to download images from flickr.com
automatically. You can get the code at
http://cid-bbc15003189d7799.skydrive...FImageCrawl.py.
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****@gmail.com
ji*****@cyrus.psych.uiuc.edu
---------------------------
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)
217-244-6763(lab)
Email: he****@gmail.com
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.