import requests
def request_zy(url):
response = requests.get(url=url)
return response.url
if __name__ == '__main__':
url='http://www.baidu.com/link?url=N4eynVHBVTmN6ikAQKABNbAhT-YqKIyQYnedOewWz3k3hm341LgiUcWX6Tpw-R2iOqLyf9Ox05OYnrdYF4cGHK'
zy=request_zy(url)
print(zy)