leetcode题库-LeetHub::ballot_box_with_ballot:LeetHub--将LeetCode代码同步到GitHub(SynchronizeLeetCodeco
leetcode题库 LeetHub :ballot_box_with_ballot: LeetHub -- 将 LeetCode 代码同步到 GitHub (Synchronize LeetCode code to GitHub.) 内容基于 的代码自动下载生成器。由于 bonfy 将生成器与自己的代码混合在一起使用并不是很方便,便将其单独提取出来。 前期准备 文件下载 下载 中的以下三个文件,放到自己用于同步 LeetCode 代码的 GitHub 仓库中。 . ├── config.cfg ├── leetcode_generate.py └── req.txt 配置环境 下载 Chromedriver $ brew cask install chromedriver 下载 python 支持 $ pip3 install -r req.txt LeetCode 配置 修改 config.cfg 文件 username = your_username password = yout_password language = python,javascript repo = https://github.com/bonfy/le