项目作者: chiehmin

项目描述 :
Leetcode Contest Ranking Searcher
高级语言: HTML
项目地址: git://github.com/chiehmin/leetcode-ranking-search.git
创建时间: 2020-03-08T16:33:07Z
项目社区:https://github.com/chiehmin/leetcode-ranking-search

开源协议:Apache License 2.0

下载


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.

  1. # crawling a single contest ranking result
  2. ./crawler.py weekly-contest-179
  3. # crawling global ranking
  4. ./global_ranking_crawler.py