python urllib库

模拟浏览器发送请求的库,python自带

Python2: urllib urllib2

Python3: urllib.request urlllib.parse


urlopenurlretrieveurllib.parseresponse
read()getur1()getheaders()getcode()readlines()

posted @ 2023-10-13 14:08  全琪俊  阅读(4)  评论(0编辑  收藏  举报