Skip to main content

A Python-based Google Photos downloader built with Selenium.

Project description

Google Photos Downloader

A Python-based Google Photos downloader built with Selenium.

This tool automates the process of downloading photos from Google Photos albums by simulating user interaction with the web interface. It uses Selenium to open shared album links, click the "Download all" button, and extract the images to your local system.

Features

  • Accepts link-shared Google Photos album URLs
  • Accepts your own Google Photos album URLs if you supply the profile directory.
  • Automatically extracts downloaded .zip files into organized folders
  • Works without needing any API keys or OAuth setup
  • Supports batch downloading of multiple album links

Why not use the Google Photos API?

The original Google Photos API is deprecated. While the Google Picker API is still available, it comes with several major limitations:

  • You must select each photo manually, no "select all" option, meaning it can not be automated.
  • Limited to a maximum number of items
  • It requires setting up a Google Cloud project and API credentials, which is pretty hard.

Disclaimer

  • Be aware of Google’s Terms of Service before using this tool.
  • It simulates human actions, but Google might not be happy about someone using this.

Requirements

  • Python 3.11+
  • Selenium
  • Chrome or Chromium + WebDriver (Auto-installed by Selenium if not found)

Installation

pip install gp-dl

Usage

gp-dl --album-urls ALBUM_URL ALBUM_URL2 --output-dir test --log-level info

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gp_dl-0.2.0.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gp_dl-0.2.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file gp_dl-0.2.0.tar.gz.

File metadata

  • Download URL: gp_dl-0.2.0.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for gp_dl-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5a75713cf2ac7fdeb08cebab3c1d42269a33dc9b16cc516eb1e3e0baf75baab5
MD5 1c61c5fc2d2ba6d175449a05f5a01bbe
BLAKE2b-256 73c22abd05f686c87372ccf327d2b92535b731d0fec5a9ecede7a26c1d73b4de

See more details on using hashes here.

File details

Details for the file gp_dl-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gp_dl-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for gp_dl-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ce2012541aeddae5b75dc6a01c4bdb1622c2666c78d2aa3374bf1c63a2fd3f0
MD5 f8eaa6c5bff2e21e8b96c5ed34e6a1ef
BLAKE2b-256 513bba6cf31ccb6356b534ca03c7fc9c3b662e126bbc5b87c88c182cbcbbed38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page