回答編集履歴
2
修正
answer
CHANGED
@@ -13,8 +13,7 @@
|
|
13
13
|
|
14
14
|
src取得はこちら
|
15
15
|
```python3
|
16
|
-
|
17
16
|
image_td = soup.find('td', class_='weather-map-viewarea')
|
18
|
-
image_td.find("img")["src"]
|
17
|
+
print(image_td.find("img")["src"])
|
19
18
|
# 'data/png/20210315184830_0_Z__C_010000_20210315120000_MET_CHT_JCIfsas24_Rjp_JCP600x581_JRcolor_Tjmahp_image.png'
|
20
19
|
```
|
1
追記
answer
CHANGED
@@ -9,4 +9,12 @@
|
|
9
9
|
```python3
|
10
10
|
from time import sleep
|
11
11
|
sleep(10)
|
12
|
+
```
|
13
|
+
|
14
|
+
src取得はこちら
|
15
|
+
```python3
|
16
|
+
|
17
|
+
image_td = soup.find('td', class_='weather-map-viewarea')
|
18
|
+
image_td.find("img")["src"]
|
19
|
+
# 'data/png/20210315184830_0_Z__C_010000_20210315120000_MET_CHT_JCIfsas24_Rjp_JCP600x581_JRcolor_Tjmahp_image.png'
|
12
20
|
```
|