Created
October 26, 2016 21:17
-
-
Save mkholodnyak/5a85df726662c331b558a2e378b50610 to your computer and use it in GitHub Desktop.
Download egghead videos
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
| /** | |
| * 1) Collect all links from `Course Page` | |
| */ | |
| $('#lesson-thumbs a') | |
| .filter((index, link) => $(link).attr('href') != null) | |
| .map((index, link) => (window.location.origin + $(link).attr('href'))) | |
| .toArray() | |
| .join("\r\n"); | |
| /** | |
| * 2) Download button click | |
| */ | |
| $('.hidden-md').click() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment