This file contains 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
// Download all assets from https://developer.apple.com/wwdc/videos | |
// Warning: might take up a lot of disk space | |
NodeList.prototype.toArray = function () { | |
return Array.prototype.slice.call(this); | |
}; | |
[].concat.apply([], document.querySelectorAll("li.session").toArray().map(function(session){ | |
var sessionID = session.id.match(/^\d+/)[0]; | |
var title = session.querySelector(".title").innerText; |
This file contains 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
// Download all assets from https://developer.apple.com/wwdc/videos | |
// Warning: might take up a lot of disk space | |
NodeList.prototype.toArray = function () { | |
return Array.prototype.slice.call(this); | |
}; | |
[].concat.apply([], document.querySelectorAll("li.session").toArray().map(function(session){ | |
var sessionID = session.id.match(/^\d+/)[0]; | |
var title = session.querySelector(".title").innerText; |