JacobLinCool / LeetCode-Stats-Card

Show your dynamically generated LeetCode stats on your GitHub profile or your website!
https://leetcard.jacoblin.cool
MIT License
663 stars 82 forks source link

contest option for cn source #61

Open Mael-zys opened 2 years ago

Mael-zys commented 2 years ago

Thank you for your excellent work !

I just found that it couldn't get the contest information from cn source, do you know how to solve it ?

https://leetcard.jacoblin.cool/mael-zys-2?ext=contest&site=cn

JacobLinCool commented 2 years ago

Unfortunately, the contest extension doesn't support LeetCode CN yet.

The underlying package doesn't have a direct way to get contest data from LeetCode CN API. (US and CN use a different API structure / schema, so it may need more time to do further research on LeetCode CN API)

But unfortunately, I do not have enough time to do reverse engineering on that recently.

I would like to keep this issue open. Other people would be able to notice about the problem, and maybe someone can help about this.

Thanks.

Mael-zys commented 2 years ago

OK, thanks!

CompetitiveLin commented 2 years ago

OK, thanks!

Supported now!