摘要:
from bs4 import BeautifulSoup r = ''' <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com) 33号的作业</title> </head> <body> <h1>我 阅读全文
posted @ 2020-12-14 17:38
派大星特烦
阅读(247)
评论(0)
推荐(0)
摘要:
import requests for i in range(20): r=requests.get("https://www.sogou.com",timeout=30) r.raise_for_status() r.encoding='utf-8' print('状态={}'.format(r. 阅读全文
posted @ 2020-12-14 17:35
派大星特烦
阅读(62)
评论(0)
推荐(0)