我需要您的帮助/建议,使用 R 或 Python 从以下链接中抓取表格信息! https://euroleaguefantasy.euroleaguebasketball.net/en/stats-fantasy-euroleague
到目前为止我已经尝试了
rvest
套餐但没有成功!
url <- "https://euroleaguefantasy.euroleaguebasketball.net/en/stats-fantasy-euroleague"
library(rvest)
read_html(url)
#> {html_document}
#> <html lang="en">
#> [1] <head>\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8 ...
#> [2] <body class="loading">\n<app-root></app-root><button id="ot-sdk-btn" clas ...
创建于 2023-10-06,使用 reprex v2.0.2
我无法检索,或者我不知道如何检索这里的任何内容!自从
read_html(URL)[1]
或 read_html(URL)[2]
不提供任何内容
任何有关我如何继续的想法或建议都非常感谢!
您可以使用 python 和 selenium 来抓取链接中提供的所需数据。 您可以从这里获得帮助 如何在Python中使用Selenium?