Skip to content

Instantly share code, notes, and snippets.

@cameronism
Created February 12, 2017 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cameronism/c8776d65e06af1242972b8db15345bf6 to your computer and use it in GitHub Desktop.
Save cameronism/c8776d65e06af1242972b8db15345bf6 to your computer and use it in GitHub Desktop.
streamline photopass downloads
// 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