import requests
r = requests.get('http://www.github.com')
print(r.url)
输出:
https://github.com/
关注公众号「Python之禅」,回复「1024」免费获取Python资源
import requests
r = requests.get('http://www.github.com')
print(r.url)
输出:
https://github.com/
关注公众号「Python之禅」,回复「1024」免费获取Python资源