H
HackerRank Solutions Extractor
A tool to extract all of your submissions from HackerRank.
41
Created on 22nd September 2021
•
H
HackerRank Solutions Extractor
A tool to extract all of your submissions from HackerRank.
The problem HackerRank Solutions Extractor solves
If you want all of your code submissions from HackerRank locally then you can use this CLI tool to do that. It runs on Windows, Linux and macOS.
Challenges I ran into
I wanted to download all of my submissions from HackerRank. Initially, I thought of using web scraping but then I thought may be HackerRank would have some API for that. Eventually, I found that a user can get a copy of its profile data which includes all of the code submissions as well. This was exactly what was required.
Then I wrote a simple script which gets the data from the profile data file(which is just a JSON file compressed in gzip format) and writes it in various files.
To create an executable for Windows, Linux and macOS, I have used
pkg
to build the binary from Node.js script.Discussion
Builders also viewed
See more projects on Devfolio