📜  python 下载表单 web - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:25.286000             🧑  作者: Mango

代码示例1
import requests


url = 'https://www.facebook.com/favicon.ico'
r = requests.get(url, allow_redirects=True)

open('facebook.ico', 'wb').write(r.content)