Skip to content

Instantly share code, notes, and snippets.

@tysonmote
Created December 3, 2009 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tysonmote/248623 to your computer and use it in GitHub Desktop.
Save tysonmote/248623 to your computer and use it in GitHub Desktop.
Using the scripting language of your choice, write a scraper that will search Google for "milksteak" and output the first 100 results formatted as a CSV file in the following format:
result_num,title,link,description
1,Milk Steak Recipe,http://mixxnews.com/milk-steak-recipe.htm,"Description <i>goes</i> here..."
2,WikiAnswers - What is a milk steak as mentioned on it's always...,http://wiki.answers.com/Q/What_is_a_milk_steak_as_mentioned_on_it's_always_sunny_in_philadelphia,"Description <i>goes</i> here..."
...
You may use any publically-available libraries that you want and refer to any documentation that you need.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment