Back to Blog

Easiest Way to Transfer Photos from Snappr to Google Photos

Snappr is a great service but it was hard for me to find a way to quickly andeasily download and upload all my photos to Google Photos.

Here's my way around it


Step 1: Extract Links

Navigate to the Snappr album in your browser and open the console.

Array.from(document.querySelectorAll('img[src^="https://img"]')).map(img => img.src).join('\n')
 

This extracts all img links that contain links to all your images.

Select and copy these links to a file.


Step 2: Download Images Locally

Prep: Ensure we have one url on each line

 
sed -i '' 's/\\n/\n/g' foo.txt
 

Now we're ready to download all these images at once.

 
mkdir -p ./images && cat foo.txt | xargs -n 1 -P 10 wget -P ./images
 

Rename all files to tack on the jpeg extension

for file in * do  mv "$file" "$file.jpeg" done
 

Step 3: Upload to Google Photos

From photos.google.com -> Create Album -> Select From Compute -> Upload all files from ./images directory


You're Done!