table和tr找不到
Opened this issue · 5 comments
messi-fcb-10 commented
def get_team_data():
qiudui_url = 'https://www.dongqiudi.com/data?competition=8'
qiudui_res = requests.get(qiudui_url, headers=header, cookies=session).text
content = BeautifulSoup(qiudui_res, 'html.parser')
team_content = content.find('table').find_all('tr')
team_list = list(map(deal_element_list, team_content[2:]))
save_to_csv(team_list)
print('get player data now...')
for i in team_list:
print("爬取url:", i[0])
get_players_urls(i[0])
zhouwei713 commented
把报错信息贴一下,我再看看
messi-fcb-10 commented
messi-fcb-10 commented
大佬,有没有解决方案
zhouwei713 commented
messi-fcb-10 commented
哈哈,p标签吗
…---原始邮件---
发件人: "zhouluobo"<notifications@github.com>
发送时间: 2019年10月14日(星期一) 中午11:17
收件人: "zhouwei713/data_analysis"<data_analysis@noreply.github.com>;
抄送: "hzh1105"<1054339447@qq.com>;"Author"<author@noreply.github.com>;
主题: Re: [zhouwei713/data_analysis] table和tr找不到 (#2)
你好,懂球帝网站改版了,代码可能要修改下,等我后面更新吧
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.