in

Codewars Solution Scraper In Go


Currently the codewars api provides the completed katas, but not the actual solution code you wrote to complete it.

This go program will scrape all your codewars solutions and output them in json file.

The schema of a single kata is

{
	"Kyu":			"string",
	"KataLink":		"string",
	"KataTitle":		"string",
	"LanguagesSolved":	["string"],
	"Solutions":		["string"]
}

How to Run

  1. Clone the repo

  2. In config.yaml

    • Specify codewars username
    • Specify session_id cookie
    • Specify number of pages to scrape
  3. Run go run codewars_scraper.go

View Github




Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

NABARD Grade A Result 2021 Out: Check NABARD Prelims Result

How to check CPU and memory usage thumbnail

How to check CPU and memory usage