Try something new. NodeBox 2 Beta - Now Available for Download

pyahoo.yahoo.images()

Syntax

images(query, size=MEDIUM)

Description

Searches Yahoo! Images for query of the given size, which is either SMALL, MEDIUM, LARGE or WALLPAPER. Returns a list of links to image url's.

Example

from pyahoo import yahoo
print yahoo.images("penguins", size=yahoo.WALLPAPER)
>>>['http://www.bergoiata.org/fe/Animaux03/Penguins - 1024x768.jpg', 
>>> 'http://www.bergoiata.org/fe/Animaux03/Emperor Penguins -1024x768.jpg', 
>>> 'http://www.sterlinghealthcenter.com/Freebies/Software/Screen Savers/Penguins.jpg', 
>>> 'http://www.unconsciouslyaware.com/penguinpage/emperorsonly/bigpenguinface.jpg', 
>>> 'http://cfa-www.harvard.edu/~adair/AST_RO/penguins.jpg', 
>>> 'http://www.envirocomm.net/punta/images/Magellan penguins.jpg',
>>> 'http://students.millikin.edu/~sjmoore/pictures/us/penguins1.jpg',
>>> 'http://students.millikin.edu/~sjmoore/pictures/us/penguins4.jpg',
>>> 'http://students.millikin.edu/~sjmoore/pictures/us/penguins2.jpg',
>>> 'http://www.bigpumpkin.co.uk/blogger/penguins.jpg',
>>> 'http://www.shs.d211.org/Science/faculty/KLT/chfood/2003-04/Q3/finalpics/penguins.JPG',
>>> 'http://bradfordpta.org/starsgallery/images/Penguins.jpg',
>>> 'http://students.millikin.edu/~sjmoore/pictures/us/penguins3.jpg',
>>> 'http://www.nachel.com/Photos/Orlando/Sea World/SeaWorld - Penguins.jpg',
>>> 'http://www.ericandjoan.com/antarctica/penguins.jpg',
>>> 'http://penguins.nsjrb.org/images/20012002images/penguins0102.jpg',
>>> 'http://www.tylerdave.com/img/chicago_shedd_penguins.jpg',
>>> 'http://www.linuxhotbox.com/fun/wallpapers/hung-penguins.jpg',
>>> 'http://www.anselm.edu/homepage/jpitocch/genbios/verts/penguins.JPG',
>>> 'http://www.fassetthill.com/photos/17-penguins.jpg']