Skip to content

Instantly share code, notes, and snippets.

@ywchiu
Created April 4, 2018 14:44
Show Gist options
  • Save ywchiu/a9f1a00f1b52172701c0742d68547ba9 to your computer and use it in GitHub Desktop.
Save ywchiu/a9f1a00f1b52172701c0742d68547ba9 to your computer and use it in GitHub Desktop.
import requests
headers = {
'User-Agent':'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36'
}
res = requests.get('http://www.jiandanxinli.com/experts', headers = headers)
res.text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment