Downloading Audio

Is there any way to download the audio for vocabulary words? Either from the website or from Flaming Durtles?

Sure, the audio URL can be grabbed if you use the WK API to query for the vocabulary subject. There will be a block like this:

"pronunciation_audios": [
	{
		"url": "https://cdn.wanikani.com/audios/27959-subject-2467.ogg?1553788696",
		"metadata": {
			"gender": "female",
			"source_id": 21630,
			"pronunciation": "いち",
			"voice_actor_id": 1,
			"voice_actor_name": "Kyoko",
			"voice_description": "Tokyo accent"
		},
		"content_type": "audio/ogg"
	},
	{
		"url": "https://cdn.wanikani.com/audios/27958-subject-2467.mp3?1553788695",
		"metadata": {
			"gender": "female",
			"source_id": 21630,
			"pronunciation": "いち",
			"voice_actor_id": 1,
			"voice_actor_name": "Kyoko",
			"voice_description": "Tokyo accent"
		},
		"content_type": "audio/mpeg"
	},
	{
		"url": "https://cdn.wanikani.com/audios/3020-subject-2467.mp3?1547862356",
		"metadata": {
			"gender": "male",
			"source_id": 2711,
			"pronunciation": "いち",
			"voice_actor_id": 2,
			"voice_actor_name": "Kenichi",
			"voice_description": "Tokyo accent"
		},
		"content_type": "audio/mpeg"
	},
	{
		"url": "https://cdn.wanikani.com/audios/3018-subject-2467.ogg?1547862356",
		"metadata": {
			"gender": "male",
			"source_id": 2711,
			"pronunciation": "いち",
			"voice_actor_id": 2,
			"voice_actor_name": "Kenichi",
			"voice_description": "Tokyo accent"
		},
		"content_type": "audio/ogg"
	}

Otherwise, you can also find the audio if you right click the text of the voice actor’s name and then expand the audio player span and you’ll see something like this:

Just be sure to read the terms of service. :slight_smile:

Thank you for your response! I was looking for downloading the audio in bulk, by level perhaps. The reason I wondered if it were possible is because it has to be downloaded for the app. I just could not locate it.

Yeah, there isn’t anything like that that I know of. You could probably script something using bash and curl and the WK API to do it, though.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.