2020年12月14日

摘要: # -*- coding: utf-8 -*- import bs4 import requests from bs4 import BeautifulSoup import pandas as pd import matplotlib.pyplot as plt def getHTMLText(u 阅读全文

posted @ 2020-12-14 23:59 binbinblue 阅读(66) 评论(0) 推荐(0)

摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>html作业-34号</title> </head> <body> <h1>My first title</h1> <p id="first">My first Paragraph 阅读全文

posted @ 2020-12-14 23:54 binbinblue 阅读(207) 评论(1) 推荐(0)

摘要: # 导入库 import requests from bs4 import BeautifulSoup def getUrlText(url): try: web = requests.get(url) soup = BeautifulSoup(web.text) web.raise_for_sta 阅读全文

posted @ 2020-12-14 23:53 binbinblue 阅读(138) 评论(0) 推荐(0)


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3