Update youtube_dl/extractor/googlephotos.py

Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
upintheairsheep 2023-02-22 09:28:30 -08:00 committed by GitHub
parent f6c7cda93a
commit 8ec63c3f81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ class GooglePhotosIE(InfoExtractor):
formats = []
dash_mpd_fatal = True
dash_link = self._html_search_regex(r'data-url="(.+?)"', webpage, '')
dash_link = self._search_regex(r'''data-url\s*=\s*('|")(?P<link>(?:(?!\1).)+)''', webpage, group='link')
mpd_url = self._download_webpage(dash_link + '=mm,dash?alr=true', video_id)
for df in self._extract_mpd_formats(