Skip to content

Commit d8d1b4a

Browse files
author
littlelory
committed
天气提醒脚本 README
1 parent 7980fa3 commit d8d1b4a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

python/weather_remind/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
我想让python做以下事情:
2222

23-
![流程图](流程图.png)
23+
![流程图](image/流程图.png)
2424

2525
所以,要实现以下三部分:
2626

@@ -33,17 +33,17 @@
3333
#### 爬天气预报数据
3434
先找个靠谱的天气预报网站,看了一圈,感觉这个[中国天气预报](http://www.weather.com.cn/weather/101010100.shtml)挺靠谱的,毕竟敢用“中国”命名呢。下图就是目标数据了:
3535

36-
![天气数据](天气数据.png)
36+
![天气数据](image/天气数据.png)
3737

3838
打开浏览器控制台,找到数据在html中的位置:
3939

40-
![html1](html1.png)
40+
![html1](image/html1.png)
4141

4242
可以看到,7天的天气数据位于 id="7d"的div标签 -> ul标签 -> li标签 中。
4343

4444
再看看li中的具体结构:
4545

46-
![html2](html2.png)
46+
![html2](image/html2.png)
4747

4848

4949
* 日期位于 li标签 -> h1标签 中;

0 commit comments

Comments
 (0)