mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
272 B
272 B
DrissionPage 带一个简便易用的下载器,一行即可实现下载功能。
from DrissionPage import WebPage
url = 'https://www.baidu.com/img/flexible/logo/pc/result.png'
save_path = r'C:\download'
page = WebPage('s')
page.download(url, save_path)