Skip to content

Tool to download accepted submissions from Codeforces, enabling users to manage their solutions efficiently. • Utilised the Node.js file system module to handle file operations and efficiently extract and save files locally.

Notifications You must be signed in to change notification settings

Krishx17/Harvest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Harvest

The codeforces submissions scraper is a powerful tool that scrapes all your accepted submissions from Codeforces using web scraping, and automatically downloads the solution codes for you.

Installation

git clone https://github.com/krishx17/harvest

Dependency

npm install

How to use

  • First configure options.json file according to your needs
  • Then run the tool as follows.
node main.js
  • Search all submitted source code and download source code.
  • options.json
option Description
codeforcesHandle Your codeforces handle (username). Leave empty "" if you dont want it.
onlyAC true if you only want the accepted codes, else false. Beneficial to set it to true
overwrite true if you want to overwrite codes when they are already present in the export directory, else false. It will be beneficial to set it to false,because if you run node main.js again, files will not be overwritten unnecessarily .
giveUniqueNames true if you only want all the codes of the same problem, else false. When set to true different codes of the same problem will be differentiated using their unique Ids. It will be beneficial to set it to false,because generally we are concerned with any one code .

About

Tool to download accepted submissions from Codeforces, enabling users to manage their solutions efficiently. • Utilised the Node.js file system module to handle file operations and efficiently extract and save files locally.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published