Fix "Unable to extract player data" regex error
This commit is contained in:
parent
b9b150def7
commit
a3362ba736
@ -49,7 +49,7 @@ class LA7IE(InfoExtractor):
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
|
||||
player_data = self._parse_json(
|
||||
self._search_regex(r'videoLa7\(({[^;]+})\);', webpage, 'player data'),
|
||||
self._search_regex(r'videoParams = ({[^;]+});', webpage, 'player data'),
|
||||
video_id, transform_source=js_to_json)
|
||||
|
||||
return {
|
||||
|
Loading…
x
Reference in New Issue
Block a user