Created
February 12, 2017 22:38
-
-
Save cameronism/c8776d65e06af1242972b8db15345bf6 to your computer and use it in GitHub Desktop.
streamline photopass downloads
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. pay for all your photos | |
// 2. scroll through the entire album and ensure all previews have loaded | |
// 3. open dev tools | |
var stopDownloadPlease = false; | |
var downloadPlease = () => { setTimeout(() => {$(".icon-button.download").click(); setTimeout(() => { $(".arrow-next .icon.ng-binding.wdw.size-l.rotate-0").click(); if (!stopDownloadPlease) { downloadPlease() }; }, 4000)}, 700) }; | |
downloadPlease(); | |
// 4. watch downloads folder until duplicates start showing up (or some other way to make sure you got them all) | |
// 5. `stopDownloadPlease = true;` | |
// 6. move duplicates somewhere else (or delete them if brave) | |
// 7. `$('.grid-image').length` should be same as downloaded photo count (minus duplicates which have been dealt with) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment