Skip to content

bansal1232/Codechef-Crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Due to recent changes in UI and strict authentication in codechef, this project is not working

Here are the python scripts I used to fetch all my solutions on Codechef and store them locally with a well-structured manner.

Setup

You can either clone the repository with https://github.com/bansal1232/Codechef-Crawler.git, or download all the scripts and put them in the same directory.

Scripts are written in python3 syntax. If you don't have a python3 interpreter and want to use the scripts, you can either:

  1. Download python 3.6
  2. Modify the source code so that it works with the version you have installed.
    • If you have a python2x interpreter, then I suggest you to switch over python3 interpreter.

Requirements

Before running any of above script, you must be assure that you have installed all python packages in default python directory. You can easily install all requirements by just using the following command-

$ pip install -r requirements.txt

How to Use

Open conf.py. Assign your codechef handle and your password to handle and pass_val variables respectively. If you want to download other handle's solutions, then you don't need to assign anything in pass_val variable.

Now you can run the script crawl.py, and then wait until all problems are downloaded.

Please push any changes or bug if you found while executing this script.

About

A web spider to download all solved problems of codechef

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages