download image from flickr.com

H

He Jibo

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.live.com/self.aspx/Public/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
(e-mail address removed)
(e-mail address removed)


---------------------------
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: (e-mail address removed)
Yogi Berra - "Half the lies they tell about me aren't true."
 
J

Justin Ezequiel

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top