回答編集履歴

1

フラグ付け忘れた

2020/07/27 09:09

投稿

quickquip
quickquip

スコア11235

test CHANGED
@@ -24,11 +24,11 @@
24
24
 
25
25
  ```pyhton
26
26
 
27
- time = re.findall(r'<p class="weather-day__time">(.*?)</p>', reseiki)
27
+ time = re.findall(r'<p class="weather-day__time">(.*?)</p>', reseiki, re.DOTALL)
28
28
 
29
- rain = re.findall(r'<p class="weather-day__r">(.*?)</p>', reseiki)
29
+ rain = re.findall(r'<p class="weather-day__r">(.*?)</p>', reseiki, re.DOTALL)
30
30
 
31
- temp = re.findall(r'<p class="weather-day__t">(.*?)</p>', reseiki)
31
+ temp = re.findall(r'<p class="weather-day__t">(.*?)</p>', reseiki, re.DOTALL)
32
32
 
33
33
  ```
34
34