I didn’t find a topic about this so I thought I’d make a new one.
Since I got many leeches recently, I was wondering if it’s possible to export leeches from the Wanikani Leech Detector to Anki.
Thanks in advance.
I didn’t find a topic about this so I thought I’d make a new one.
Since I got many leeches recently, I was wondering if it’s possible to export leeches from the Wanikani Leech Detector to Anki.
Thanks in advance.
There’s a way to do this now: by using the Self-Study Quiz from rfindley + Additional filters by seanblue:
1st install this:
Then this:
Then this:
You’ll basically be able to review your leeches on WK.
thanks replying so quickly.
I mainly use wanikani on my phone so I thought it would help to integrate my leeches into anki.
the process you described only works on a
PC right?
In theory, yeah. In case you use Android, you can always try this:
As far as I know, these new scripts have yet to be tested with this last userscript. They might not work together.
I can’t help you with Anki though.
Here is a script I use for extracting leeches.
You go to : https://wanikanitools-golang.curiousattemptbunny.com/leeches.json?api_key=*
replace * with your api key.
then if you open the browser console. you get a list of items.
You can copy them and paste it into a new txt file which you can then import to anki.
This script was only made for myself so its nothing fancy
// ==UserScript==
// @name lEECH EXTRACTOR
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://wanikanitools-golang.curiousattemptbunny.com/leeches.json?api_key=*
// @grant none
// ==/UserScript==
(function() {
'use strict';
//#ID;Kanji;RawKanji;Meaning;AlternateMeaning;Definition;FocusReading;Sentence;Audio;Stroke;Subtitle
setTimeout(function(){
window.json = JSON.parse(document.body.children[0].innerText);
console.log("Kanji -> Reading");
var dataKanji = "";
var dataVocab = "";
for(var i = 0; i< json.length; i++){
var item = json[i];
var ID = item.name;
var Kanji = item.name;
var RawKanji = item.name;
var Meaning = item.primary_meaning;
var AlternateMeaning = item.meanings;
var Definition = "";
var FocusReading = item.primary_reading;
var Sentence = "";
var Audio = "";
var Stroke = "";
var Subtitle = "";
if (item.subject_type == "kanji"){
ID = "k_" + ID;
Definition = "Kanji";
if (item.worst_score >= 1.1)
dataKanji += ID + ";" + Kanji + ";" + RawKanji + ";" + Meaning + ";" + AlternateMeaning + ";" + Definition + ";" + FocusReading + ";" + Sentence + ";" + Audio + ";" + Stroke + ";" + Subtitle + "\n";
}
else if (item.subject_type == "vocabulary"){
ID = "v_" + ID;
Definition = "Vocabulary";
if (item.worst_score >= 1.1)
dataVocab += ID + ";" + Kanji + ";" + RawKanji + ";" + Meaning + ";" + AlternateMeaning + ";" + Definition + ";" + FocusReading + ";" + Sentence + ";" + Audio + ";" + Stroke + ";" + Subtitle + "\n";
}
}
console.log(dataKanji);
console.log("-");
console.log(dataVocab);
}, 1500);
// Your code here...
})();