import requests
from bs4 import BeautifulSoup
import pymysql
pymysql.install_as_MySQLdb()
def details(url):
response = requests.get(url)
response.encoding = response.apparent_encoding
text = response.text
beautifulSoup = BeautifulSoup(text, "html.parser")
td_list = beautifulSoup.find(name='div', attrs={
'class': 'infoOfFund'}).find_all(name=
天天基金爬虫
最新推荐文章于 2024-06-24 13:19:52 发布