CFContestSpider is a scraper that helps you during contests in codeforces.
-
This scraper downloads all the inputs and outputs for the contest.
-
Creates folders for the contest and for each problem.
-
Creates program file , Actual output file , respective input and Expected output files for each problem.
-
Also downloads complete Problemset for the contest and stores it in pdf format.
-
python3
-
python - scrapy
-
python - requests
-
python - os
-
python - pdfkit
-
Copy 'main.py' file to your codeforces folder.
-
Run the spider using command -> scrapy runspider main.py
-
Then this prompts for contest link -> (Copy contest link and paste) Eg: http://codeforces.com/contest/772
-
Make sure that given link is valid.
-
Then this prompts for contest name -> Eg: 772
-
Then folder with given name is created.
-
Thats it ! You can run this and read your first problem , in the mean time Contest gets downloaded for you :)
Happy Coding :)