网页中css, js, img文件下载保存

# -*- coding:utf-8 -*- from bs4 import BeautifulSoup as BS import urllib.request as rqst html = rqst.urlopen(url) #网页用bs解析 bs = BS(req, 'lxml') #获取css,js,img文件的路由 elc = bs.find_all('link', type='t
相关文章
相关标签/搜索