Ask HN: Programmatic Googling to Recreate xkcd results

https://news.ycombinator.com/item?id=8966497
by mydpy • 11 years ago
2 1 11 years ago

I am trying to access Google search results programmatically.

For example, let's say I wanted to recreate xkcd's X Girls Y Cup results.

http://xkcd.com/467/

AFAIK, Randall entered these results manually "X Girls Y Cup" into Google search.

Is there any way to do this programmatically? Does Google have an API that I can use to return the number of search results for a given search string? Is there any way to hack it by abusing the Google URI?

Any ideas for how to access Google's search results would be really helpful.

Thanks!

Related Stories

Loading related stories...

Source preview

news.ycombinator.com