yt-dlp / yt-dlp

A feature-rich command-line audio/video downloader
https://discord.gg/H5MNcFW63r
The Unlicense
80.52k stars 6.3k forks source link

Google Photos #5222

Open Jadoo4QFan opened 1 year ago

Jadoo4QFan commented 1 year ago

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

Checklist

Region

USA

Example URLs

Provide a description that is worded well enough to be understood

Please add support for downloading videos from Google Photos. Playlist support would be appreciated.

Provide verbose output that clearly demonstrates the problem

Complete Verbose Output

[Documents]$ yt-dlp https://photos.google.com/s
hare/AF1QipNi8VN2pw2Ya_xCV8eFgzEZmiXDy1-GwhXbqF
tvXoH3HypF10as9puV8FdoVZpOZA/photo/AF1QipPIoUaS
CvCyqWszRQz6n_lz4V8boxtmRO_Ow3OJ?key=WkZjQTIxQT
M5a01oZkNUYTE2ZllKTVJKZk1CMTR3 -vU 
[debug] Command-line config: ['https://photos.g
oogle.com/share/AF1QipNi8VN2pw2Ya_xCV8eFgzEZmiX
Dy1-GwhXbqFtvXoH3HypF10as9puV8FdoVZpOZA/photo/A
F1QipPIoUaSCvCyqWszRQz6n_lz4V8boxtmRO_Ow3OJ?key
=WkZjQTIxQTM5a01oZkNUYTE2ZllKTVJKZk1CMTR3', '-v
U']
[debug] Encodings: locale UTF-8, fs utf-8, pref
 UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (pi
p) API
[debug] Python 3.9.10+ (CPython 64bit) - macOS-16.0-iPhone14,5-arm-64bit 
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg n5.0.1-4-ga5ebb3d25e (setts), ffprobe n5.0.1-4-ga5ebb3d25e, phantomjs present, rtmpdump present
[debug] Optional libraries: Cryptodome-3.15.0, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [generic] Extracting URL: https://photos.google.com/share/AF1QipNi8VN2pw2Ya_xCV8eFgzEZmiXDy1-GwhXbqFtvXoH3HypF10as9puV8FdoVZpOZA/photo/AF1QipPIoUaSCvCyqWszRQz6n_lz4V8boxtmRO_Ow3OJ?key=WkZjQTIxQTM5a01oZkNUYTE2ZllKTVJKZk1CMTR3
[generic] AF1QipPIoUaSCvCyqWszRQz6n_lz4V8boxtmRO_Ow3OJ?key=WkZjQTIxQTM5a01oZkNUYTE2ZllKTVJKZk1CMTR3: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] AF1QipPIoUaSCvCyqWszRQz6n_lz4V8boxtmRO_Ow3OJ?key=WkZjQTIxQTM5a01oZkNUYTE2ZllKTVJKZk1CMTR3: Extracting information
[debug] Looking for Brightcove embeds
[debug] Looking for embeds
ERROR: Unsupported URL: https://photos.google.com/share/AF1QipNi8VN2pw2Ya_xCV8eFgzEZmiXDy1-GwhXbqFtvXoH3HypF10as9puV8FdoVZpOZA/photo/AF1QipPIoUaSCvCyqWszRQz6n_lz4V8boxtmRO_Ow3OJ?key=WkZjQTIxQTM5a01oZkNUYTE2ZllKTVJKZk1CMTR3
Traceback (most recent call last):
  File "/var/mobile/Containers/Data/Application/30BFEB40-94F0-43F6-B73A-054FFF42DD1B/Library/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1477, in wrapper
    return func(self, *args, **kwargs)
  File "/var/mobile/Containers/Data/Application/30BFEB40-94F0-43F6-B73A-054FFF42DD1B/Library/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1553, in __extract_info
    ie_result = ie.extract(url)
  File "/var/mobile/Containers/Data/Application/30BFEB40-94F0-43F6-B73A-054FFF42DD1B/Library/lib/python3.9/site-packages/yt_dlp/extractor/common.py", line 672, in extract
    ie_result = self._real_extract(url)
  File "/var/mobile/Containers/Data/Application/30BFEB40-94F0-43F6-B73A-054FFF42DD1B/Library/lib/python3.9/site-packages/yt_dlp/extractor/generic.py", line 3062, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL:
Jadoo4QFan commented 1 year ago

The playlist has videos, just scroll a bit.

abney317 commented 1 year ago

@pukkandan This was closed as completed, but I don't think it was done (at least it's not in the latest release that I know of). Or maybe there was just a problem with this specific issue that made this get closed? I can open a new issue if needed. Thanks!

pukkandan commented 1 year ago

The issue got automatically closed when OP was blocked for spamming

aviv926 commented 5 months ago

Is this something that can be implemented at all? There is no way to download a video from Google Photos other than through the official download button AFAIK