Created
December 13, 2014 19:40
-
-
Save curiouslychase/3d1c09c5408af9bec6d3 to your computer and use it in GitHub Desktop.
Convert Coursera Lecture List to Todoist
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 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