There are some bugs in the function UpdateCodeforeces().
Add Exception handling -- If the data is null or the res_rating can't get a data, the programme will be crashed. We need to handle exception and return a empty string.
The choosing of ulllib2 or requests -- To unite the python public package.
There are some bugs in the function
UpdateCodeforeces()
.Exception handling
-- If the data isnull
or theres_rating
can't get a data, the programme will be crashed. We need to handle exception and return a empty string.ulllib2
orrequests
-- To unite the python public package.