Skip to content

Instantly share code, notes, and snippets.

View Save1i's full-sized avatar
🏠
Working from home

Saveli Save1i

🏠
Working from home
View GitHub Profile
@ikushlianski
ikushlianski / index.js
Last active September 22, 2025 20:13
Export translations from the currently open Yandex Translate collection into Anki (TSV, CSV)
// open a collection in Yandex Translate and run the following script in your browser's developer console
function parseCollection() {
const arr = [];
document.querySelectorAll('.record-item_text > div:nth-child(2)').forEach(el => {
arr.push([el.textContent])
})
document.querySelectorAll('.record-item_translation > div:nth-child(2)').forEach((el, index) => {