提交 5eadeb5d 编写于 作者: Q qq_36105691

fix

上级 809484d6
......@@ -41,7 +41,7 @@
通过浏览器开发者工具,我们可以发现比赛结果是通过`ajax`请求获取的JSON文件。
![比赛结果](/md-files/match-result.png)
![比赛结果](https://gitcode.net/qq_36105691/project-c/-/tree/master/222100414/md-files/match-result.png)
> 通过分析请求的`url`,我们可以得到比赛结果的`url`为:https://api.worldaquatics.com/fina/events/{HASH-ID}
......@@ -51,14 +51,14 @@
,我们可以得知网站是通过发送请求 `https://api.worldaquatics.com/fina/competitions/3337/events`
获取到所有项目对应的`HASH-ID`
![HASH-ID](/md-files/fiddler-get-result-list.png)
![HASH-ID](https://gitcode.net/qq_36105691/project-c/-/tree/master/222100414/md-files/fiddler-get-result-list.png)
#### 3.1.2 获取参赛选手信息
获取参赛选手信息的流程与获取比赛结果类似,只是获取参赛选手信息的`url`
为:`https://api.worldaquatics.com/fina/competitions/3337/athletes`
![参赛选手信息](/md-files/fiddler-player.png)
![参赛选手信息](https://gitcode.net/qq_36105691/project-c/-/tree/master/222100414/md-files/fiddler-player.png)
解析JSON,可以获得对应国家的参赛选手信息。
......@@ -223,7 +223,7 @@ src
└── CMakeLists.txt
```
![](/md-files/classes.png)
![](https://gitcode.net/qq_36105691/project-c/-/tree/master/222100414/md-files/classes.png)
我把项目分为了`DAO``IO``middleware` 三个模块。
......@@ -628,7 +628,7 @@ public:
**缓存前**
![](/md-files/before-cache.png)
![](https://gitcode.net/qq_36105691/project-c/-/tree/master/222100414/md-files/before-cache.png)
**缓存后**
......@@ -745,7 +745,7 @@ for file in test_input_files:
print("Test success: " + out_path)
```
![img.png](/md-files/img.png)
![img.png](https://gitcode.net/qq_36105691/project-c/-/tree/master/222100414/md-files/img.png)
`lib`文件夹内是`sqlite3`的库文件。
......
......@@ -12,4 +12,4 @@
## 博客链接
> Blog.md
\ No newline at end of file
> https://gitcode.net/qq_36105691/project-c/-/blob/master/222100414/Blog.md
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册