littleDCrawler is a Japanese dictionary web crawler.
It crawls LittleD for Japanese word and OJAD for Japanese verb.
After finishing crawling, it exports JSON for Ankieasy to make card.
node littleD.js [type]
image
: littleD.js will read the image folder, and embed the image file in into your Anki card.python
: littleD.js will read the input file of Ankieasy for input word information.
- front_word (Japanese):
- word:
[sound:<AUDIO_PATH>]<WORD> <PART_OF_SPEECH> 1. <MEANING_1_EXAMPLE_SENTENCE> (2. <MEANING_2_EXAMPLE_SENTENCE>) ...
- verb:
[sound:<JISHO_AUDIO_PATH>]<VERB_JISHO> // 辞書形 [sound:<MASU_AUDIO_PATH>]<VERB_MASU> // ます形 [sound:<TE_AUDIO_PATH>]<VERB_TE> // て形 [sound:<NAI_AUDIO_PATH>]<VERB_NAI> // ない形 ([sound:<KANO_AUDIO_PATH>]<VERB_KANO> // 可能形) [sound:<ISHI_AUDIO_PATH>]<VERB_ISHI> // 意志形 <PART_OF_SPEECH> 1. <MEANING_1_EXAMPLE_SENTENCE> (2. <MEANING_2_EXAMPLE_SENTENCE>) ...
- word:
- back_word (Chinese):
<PART_OF_SPEECH> 1. <MEANING_1> <MEANING_1_EXAMPLE_SENTENCE> (2. <MEANING_2>) (<MEANING_2_EXAMPLE_SENTENCE>) ...
if you can't install puppeteer, try this:
sudo npm install --unsafe-perm=true