Closed sainad2222 closed 3 years ago
Everything's fine when tested in local environment
Thanks for the PR @sainad2222. I found a couple of issues, let's fix it and merge.
One question I have is, what is BrokenChangesError? Do we need it? If we need it, let's handle the error too in main.py
similar to the other errors.
Regarding BrokenChangesError if there are some broken changes like change in UI or selector during site updates that may break code. I now added code to handle this exception and also added table issue in try block. Let me know if any changes needed. Thanks for API :)
If you feel like the name BrokenChangesError is not relevant feel free to suggest new name. I'll change accordingly. I feel like it's necessary to handle these type of exceptions too
You forgot to import BrokenChangesError
in main.py
.
Regarding BrokenChangesError if there are some broken changes like change in UI or selector during site updates that may break code. I now added code to handle this exception and also added table issue in try block. Let me know if any changes needed. Thanks for API :)
If you feel like the name BrokenChangesError is not relevant feel free to suggest new name. I'll change accordingly. I feel like it's necessary to handle these type of exceptions too
Yeah, that's a good idea. Completely makes sense.
I tested once again locally. Looks fine to me. Let me know if any changes needed
added atcoder to api json fields: rating highest(highest rating) rank level