headers = { 'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063'} r = requests.get('http://www.baidu.com/', params=keyword, headers=headers, timeout=3)
关键字词: