pixieset.com dumper
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
/* pixieset.com full size image scraper | |
* | |
* Rips all images in highest quality | |
* | |
* To use scroll to the very bottom of the album and press F12 then paste the below snippet in and press enter. | |
* The full file list will be copied to your clipboard afterwards. You can use jdownloader to easily download the full list. | |
* Or wget all the files, I use Atom IDE or Notepad++ to simply add wget to the beginning of each line then | |
* copy+past into the linux CLI | |
*/ | |
(() => { | |
const data = document.querySelectorAll('.masonry-brick img') | |
let arr = [] | |
for (let i = 0; i < data.length; i++) { | |
arr.push(data[i].src.replace(/-medium/g, '-xxlarge')) | |
} | |
console.log(arr) | |
let dataToArray = arr.toString().split(',').map(item => item.trim()) | |
const dummy = document.createElement('textarea') | |
document.body.appendChild(dummy) | |
dummy.value = dataToArray.join('\n') | |
dummy.select() | |
document.execCommand('copy') | |
document.body.removeChild(dummy) | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment