''' Get the data of the url address ''' import requests url = "http://qwd.jd.com/" session = requests.session() r = session.get(url) print(r.text) # req = urllib2.Request(url) # res = urllib2.urlopen(req) # result = res.read()
Requests for python notes get network data
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325442250&siteId=291194637
Ranking