Skip to content

Instantly share code, notes, and snippets.

@M-Yankov
Created January 1, 2019 16:46
Show Gist options
  • Save M-Yankov/5c3cf65e127e1cb99ba50f3b41b7bfcd to your computer and use it in GitHub Desktop.
Save M-Yankov/5c3cf65e127e1cb99ba50f3b41b7bfcd to your computer and use it in GitHub Desktop.
Export tasks from todoist page. Open todoist.com, load tasks and execute the following script:
var listItems = [];
document.querySelectorAll('.task_item')
.forEach(e => listItems.push(e.textContent) )
listItems.join('\n');
// Regex separate year labels (\w+)([0-9]{4})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment