9
« on: August 01, 2009, 10:17 AM »
i would like a program that grabs the first result of a google images search and renames the flle based on the search terms. the search terms come from a list. this is a long list and each line, or list item, is each search string and needs to be the name of the file grabbed. this list is a .txt file
the images are to be saved in a folder i choose/create. the files should be .jpg if they are not already. if there are no results then no file is named.
example: 1) program reads 'picture of a red ball' from the .txt file 2) program googles for 'picture of a red ball' in google images 3) program saves
the first result as 'picture of a red ball.jpg'
more e.g.
list -
some guy on boat
nov090147
happy death comics #110
abcxyz
123456
resulting file names after grab -
some guy on boat.jpg
nov090147.jpg
happy death comics #110.jpg
abcxyz.jpg
123456.jpg