Hello I am trying to modify Python xgoogle module to use yahoo

I have hit a road block where I receive no error messages the code I use to
test just returns an empty list.

and I don't know how to trouble shoot it

the module code is here

http://pastebin.com/iTibRs1R

and the code I am using to test is this

import re
from urlparse import urlparse
from xyahoo.search import YahooSearch, SearchError

gs = YahooSearch("quick and dirty")
print gs
gs.results_per_page = 50
results = gs.get_results()
print results
for res in results:
    print res.title.encode("utf8")
    print res.desc.encode("utf8")
    print res.url.encode("utf8")

Any idea how to fix the module *cheers
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to