Skip to content

Scrapes Problems, Companies, Company Problems, Interviews, Interview Problems from LeetCode.

License

Notifications You must be signed in to change notification settings

sai-janani99/leetcode-scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Scraper

Scrapes Problems, Companies, Company Problems, Interviews, Interview Problems from LeetCode.

Download LeetCode Scraped Data

Download LeetCode Scraped Data as of September 6, 2020 20:45:00 IST:

Company Problems are stored in both name-wise and period-wise directory structures for convenience.

Scraped Data Columns

  • Problems- Id, Title, Acceptance, Difficulty, Frequency, Link
  • Companies- Serial, Name, Count, Link
  • Company Problems- Id, Title, Tags, Acceptance, Difficulty, Frequency, Link
  • Interviews- Serial, Title, Chapters, Problems, Link
  • Interview Problems- ChapterSerial, Chapter, ProblemSerial, Problem, Id, Acceptance, Difficulty, Frequency, Link

Directory Structure

.
├── Problems-*.csv
├── Companies-*.csv
├── Interviews-*.csv
├── Interview_Problems
│   ├── Amazon-*.csv
│   ├── Apple-*.csv
│   ├── ...
├── Company_Problems
│   ├── Name-wise
│   │   ├── Amazon
│   │   │   ├── Amazon-6_months-*.csv
│   │   │   ├── Amazon-1_year-*.csv
│   │   │   ├── Amazon-2_years-*.csv
│   │   │   └── Amazon-All_time-*.csv
│   │   ├── Apple
│   │   │   ├── Apple-6_months-*.csv
│   │   │   ├── Apple-1_year-*.csv
│   │   │   ├── Apple-2_years-*.csv
│   │   │   └── Apple-All_time-*.csv
│   │   ├── ...
│   └── Period-wise
│       ├── 6_months
│       │   ├── Amazon-6_months-*.csv
│       │   ├── Apple-6_months-*.csv
│       │   ├── ...
│       ├── 1_year
│       │   ├── Amazon-1_year-*.csv
│       │   ├── Apple-1_year-*.csv
│       │   ├── ...
│       ├── 2_years
│       │   ├── Amazon-2_years-*.csv
│       │   ├── Apple-2_years-*.csv
│       │   ├── ...
│       ├── All_time
│       │   ├── Amazon-All_time-*.csv
│       │   ├── Apple-All_time-*.csv
│       │   ├── ...

Environment Setup

Create an .env file and add the following environment variables (refer .env.example).

LEETCODE_USERNAME = 
LEETCODE_PASSWORD = 

Usage

Simply run all the cells.

About

Scrapes Problems, Companies, Company Problems, Interviews, Interview Problems from LeetCode.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%