mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-23 12:40:11 +09:00
Update youtube_dl/extractor/googlephotos.py
Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
parent
0842d4d7d7
commit
b44a9afcfc
@ -52,8 +52,7 @@ class GooglePhotosIE(InfoExtractor):
|
|||||||
for df in self._extract_mpd_formats(
|
for df in self._extract_mpd_formats(
|
||||||
mpd_url, video_id, fatal=dash_mpd_fatal,
|
mpd_url, video_id, fatal=dash_mpd_fatal,
|
||||||
formats_dict=self._formats):
|
formats_dict=self._formats):
|
||||||
if df['format_id'] not in dash_formats:
|
dash_formats.setdefault(df['format_id'], df)
|
||||||
dash_formats[df['format_id']] = df
|
|
||||||
|
|
||||||
if dash_formats:
|
if dash_formats:
|
||||||
formats = [f for f in formats if f['format_id'] not in dash_formats.keys()]
|
formats = [f for f in formats if f['format_id'] not in dash_formats.keys()]
|
||||||
|
Loading…
Reference in New Issue
Block a user