摘要: 作业(2)请用requests库的get()函数访问如下一个网站20次,打印返回状态,text()内容,计算text()属性和content属性所返回网页内容的长度。 import requests from bs4 import BeautifulSoup def getUrlText(url): 阅读全文
posted @ 2020-12-14 00:13 大胖子zz 阅读(93) 评论(0) 推荐(0)