hust-open-atom-club / linux-edu-rank

Linux 内核高校贡献排名榜
https://edurank.hust.openatom.club
BSD 2-Clause "Simplified" License
2 stars 6 forks source link

use request.json() instead of json.loads() #14

Closed tttturtle-russ closed 3 months ago

tttturtle-russ commented 3 months ago

merge two lines into one, make code clean.

mudongliang commented 3 months ago

It seems we should use r.json() than json.loads(r.text)

[1] https://stackoverflow.com/a/58049213