Skip to content
This repository has been archived by the owner on Nov 25, 2023. It is now read-only.

chiehmin/leetcode-ranking-search

Repository files navigation

Leetcode Contest Ranking Searcher

crawling contest data crawling global ranking GitHub license

Website: https://fatminmin.com/leetcode-ranking-search/

Official Leetcode contest ranking page lacks advance search/filter functions. So I implemented one!!

Features:

  • Search users contest ranking history
  • Filter ranking data by username and country

The contest data is updated every week by setting up a scheduled pipeline using Github Actions. And the site is purely static which can be served on any web server directly!!

The UI is made with Vue.js and BootstrapVue.

Screenshots

User contest history search:

user_contest_history

Contest user search:

user_search

Global ranking with country filter:

global_ranking

Crawling contest results

By simply executing the crawler scripts, the contest ranking results will be parsed and saved.

# crawling a single contest ranking result
./crawler.py weekly-contest-179

# crawling global ranking
./global_ranking_crawler.py