Skip to content

Instantly share code, notes, and snippets.

Forked from antiops/pixieset-scrape.js
Created June 27, 2021 01:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save CoryHawkless/87ac4f9a53b166f0ee6e615363a92468 to your computer and use it in GitHub Desktop. dumper
/* 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'))
let dataToArray = arr.toString().split(',').map(item => item.trim())
const dummy = document.createElement('textarea')
dummy.value = dataToArray.join('\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment