Created
April 16, 2018 07:19
-
-
Save KIDJourney/5970a75b1ca01c7c10547864e3d61010 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [1]: import requests | |
In [2]: resp = requests.get('http://dwz.cn/1C') | |
In [3]: for i in resp.history: | |
...: print(i.url) | |
...: | |
http://dwz.cn/1C | |
http://www.google.com | |
http://www.google.com.hk/url?sa=p&hl=zh-CN&pref=hkredirect&pval=yes&q=http://www.google.com.hk/%3Fgws_rd%3Dcr&ust=1523863173159873&usg=AOvVaw0-XD0UIQhUBeQeEAFHWG6U |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment