Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Convert Coursera Lecture List to Todoist
var lectures = Array.prototype.slice.call(document.querySelectorAll('.lecture-link'));
var todoistCollection = [];
lectures.forEach(function(lecture) {
var todoistEntry = lecture.href + ' (' + lecture.innerHTML.replace('\n', '') + ')';
todoistCollection.push(todoistEntry);
});
todoistCollection.join("\n");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.