摘要:
# -*- 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-13 21:58
wenscola
阅读(126)
评论(0)
推荐(0)
摘要:
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>菜鸟教程(runoob.com)</title> </head> <body> <h1>欢迎您的加入123</h1> <p>有你想不到的意外哦!</p> </body> <tabl 阅读全文
posted @ 2020-12-13 10:31
wenscola
阅读(80)
评论(0)
推荐(0)
摘要:
import requests from bs4 import BeautifulSoup def getHTMLText(url): try: r=requests.get(url,timeout=30) soup=BeautifulSoup(r.text) r.raise_for_status( 阅读全文
posted @ 2020-12-13 10:29
wenscola
阅读(42)
评论(0)
推荐(0)

浙公网安备 33010602011771号