url = u'http://tieba.baidu.com/f?kw=权利的游戏&ie=utf-8&pn=50'
url = quote(url, safe = string.printable)
response=urllib.request.urlopen( url )
response.read()
python3.6使用 urllib完成下载
最新推荐文章于 2022-11-18 17:23:10 发布
url = u'http://tieba.baidu.com/f?kw=权利的游戏&ie=utf-8&pn=50'
url = quote(url, safe = string.printable)
response=urllib.request.urlopen( url )
response.read()