mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 03:01:25 +01:00
Compare commits
2 Commits
f32deb1224
...
4c03a308f7
Author | SHA1 | Date | |
---|---|---|---|
|
4c03a308f7 | ||
|
6b017ff04b |
|
@ -57,8 +57,8 @@ class GoProIE(InfoExtractor):
|
|||
video_id = self._match_id(url)
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
|
||||
metadata = self._search_json(r'<script>window\.__reflectData\s*=',
|
||||
webpage, 'metadata', video_id)
|
||||
metadata = self._search_json(
|
||||
r'window\.__reflectData\s*=', webpage, 'metadata', video_id)
|
||||
|
||||
video_info = metadata['collectionMedia'][0]
|
||||
media_data = self._download_json(
|
||||
|
|
Loading…
Reference in New Issue
Block a user