Closed s-i-d-d-i-s closed 3 years ago
This is just amazing @s-i-d-d-i-s! Thank you so so much for working over it! Taking a look at the proposed changes :)
Hey @s-i-d-d-i-s! Thanks a ton again for contributing! The changes look all fine. I have some bandwidth to work on it today so I'll merge your changes and refactor things a bit to extract out a common workflow interface. I just might revert the changes for the Codeforces page limit at the moment to keep it in parity with the actual submissions page on Codeforces but will bring it back if more people complain, maybe with an additional --all
argument. Hope that works?
yeah sure!
So, the workflow is pretty much the same.
Instead of Codeforces API i use, Kenokooo API for Atcoder to fetch all submissions, and then use BeautifulSoup to Scrape it.
Some of the changes i did
AtcoderWorkflow
which does the same job as ofCodeforcesWorkflow
get_user_submissions
has an extra key now, which is"platform"
because Readme can't be generated for all platforms in the same way, for e.g Atcoder lacks a Tag system for problemsSome more things like arguments etc, you can review them as well
Here is a sample repo