# Author:Nimo_Ding
'''
爬取博客【人人都是蜘蛛侠】中,《未来已来(四)——Python学习进阶图谱》文章的默认评论页,并且打印。
https://wordpress-edu-3autumn.localprod.oc.forchange.cn/all-about-the-future_04/
'''
import requests
from bs4 import BeautifulSoup
html=requests.get('https://wordpress-edu-3autumn.localprod.oc.forchange.cn/all-about-the-future_04/')
soup=BeautifulSoup(html.text,'html.parser')
comment=soup.find_all('div',class_='comment-content')
for i in comment:
print(i.find('p').text)