Skip to content

Instantly share code, notes, and snippets.

View third-meow's full-sized avatar
🎯
Focusing

John Shea third-meow

🎯
Focusing
View GitHub Profile
@third-meow
third-meow / memrise-export.js
Last active September 18, 2018 07:30 — forked from raineorshine/memrise-export.js
Export Memrise course words to CSV
(() => {
function getWords(courseId, level) {
const url = `https://www.memrise.com/ajax/session/?course_id=${courseId}&level_index=${level}&session_slug=preview`
console.log('Fetching words from ' + url)
return fetch(url, { credentials: 'same-origin' })
// parse response
.then(res => {