Created
January 1, 2019 16:46
-
-
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:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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