Skip to content

1chooo/leetcode-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LeetCode Problems Crawler

A Go CLI (Command Line Interface) tool to crawl LeetCode problems and generate code files in various programming languages with different naming schemes.

πŸ“– Usage

pattern:

leetcode-crawler crawl --problem <problem_id> --lang <language> --path <output_path> --naming <naming_scheme>

Example 1:

to crawl problem 1 in Go language with snake_case naming scheme

leetcode-crawler crawl --problem 1 --lang go --path ./problems/ --naming snake_case

Example 2:

To crawl problem 2 in Python3 language with camelCase naming scheme

leetcode-crawler crawl --problem 2 --lang python3 --path ./problems/ --naming camelCase

Example 3:

To crawl problem 3 in Java language with PascalCase naming scheme

leetcode-crawler crawl --problem 3 --lang java --path ./problems/ --naming pascalCase

Example 4:

To crawl problem 4 in C++ language with snake_case naming scheme

leetcode-crawler crawl --problem 4 --lang cpp --path ./problems/ --naming snake_case

Example 5:

To crawl problem 5 in Rust language with kebab-case naming scheme

leetcode-crawler crawl --problem 5 --lang rust --path ./problems/ --naming kebab-case

πŸ“± Contact

Chun-Ho (Hugo) Lin

πŸ“© E-mail: hugo970217@gmail.com
🧳 Linkedin: in/1chooo
πŸ‘¨πŸ»β€πŸ’» GitHub: @1chooo

πŸͺͺ License

Released under MIT by @1chooo

This software can be modified and reused without restriction. The original license must be included with any copies of this software. If a significant portion of the source code is used, please provide a link back to this repository.

Made with πŸ’™ by @1chooo

πŸ™πŸ» Special Thanks

About

🦞 A command-line tool to crawl LeetCode problems

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages