質問編集履歴
3
質問内容とコード内のHPのアドレスを統一した
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
|
20
20
|
|
21
|
-
https://race.netkeiba.com/
|
21
|
+
https://race.sp.netkeiba.com/?pid=shutuba&race_id=202006020612
|
22
22
|
|
23
23
|
|
24
24
|
|
2
HTMLタグを追加
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
該当のソースコードを変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,9 +26,21 @@
|
|
26
26
|
|
27
27
|
### 該当のソースコード
|
28
28
|
|
29
|
+
nk <- read_html("https://race.sp.netkeiba.com/?pid=shutuba&race_id=202006020612")
|
30
|
+
|
31
|
+
nk %>% html_nodes(css = "#odds-1_01") %>% html_text()
|
29
32
|
|
30
33
|
|
34
|
+
|
31
|
-
|
35
|
+
<欲しい結果>
|
36
|
+
|
37
|
+
5.5
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
<実際の結果>
|
42
|
+
|
43
|
+
[1] "---.-"
|
32
44
|
|
33
45
|
|
34
46
|
|