mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-01-18 16:52:16 +00:00
Update youtube_dl/extractor/googlephotos.py
Co-authored-by: dirkf <fieldhouse@gmx.net>
This commit is contained in:
parent
f6c7cda93a
commit
8ec63c3f81
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user