```python
import urllib.request as ur
import os as os
def url_open(url):
req = ur.Request(url)
req.add_header("User-Agent","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36")
response = ur.urlopen(url)
html = response.read()
return html
def get_page(url):
html = url_open(url).decode("utf-8")
a
求助一下各位大神,用python爬虫抓bing的每日图库,程序运行正常,但是没有图片生成
最新推荐文章于 2023-11-18 22:27:08 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)