internet searching program

Support Desk mike at ipglobal.net
Mon Aug 11 10:03:33 EDT 2008


Google does'nt allow use of their API's anymore, I belive Yahoo has one  or
you could do something like below. 

searchstring = 'stuff here'

x = os.popen('lynx -dump http://www.google.com/search?q=%s' %
searchstring).readlines()


-----Original Message-----
From: Steven D'Aprano [mailto:steve at REMOVE-THIS-cybersource.com.au] 
Sent: Friday, August 08, 2008 11:22 PM
To: python-list at python.org
Subject: Re: internet searching program

On Fri, 08 Aug 2008 19:59:02 -0700, KillSwitch wrote:

> Is it possible to make a program to search a site on the internet, then
> get certain information from the web pages that match and display them?
> Like, you would put in keywords to be searched for on youtube.com, then
> it would search youtube.com, get the names of the videos, the links, and
> the embed information? Or something like that.

Search the Internet? Hmmm... I'm not sure, but I think Google does 
something quite like that, but I don't know if they do it with a computer 
program or an army of trained monkeys.



-- 
Steven





More information about the Python-list mailing list