文章列表
import sys
url = ('https://ajax.googleapis.com/ajax/services/search/web''?v=1.0&q=%s&rsz=8&start=%s') % (search,page)
try:
request = urllib2.Request(
url, None, {'Referer': 'http://www.baidu.com'})
response = urllib2.urlopen(request)
# Process the JSON stri ...