Compare commits

...

2 Commits

Author SHA1 Message Date
sepro
4c03a308f7
Remove script tag 2024-01-19 17:45:03 +01:00
sepro
6b017ff04b Fix formatting 2024-01-19 16:41:20 +01:00

View File

@ -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(