mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-04 08:02:48 +00:00
_find_json: default to None
This commit is contained in:
parent
cc186aa008
commit
3bb4fa5c40
@ -78,7 +78,7 @@ class GoPlayIE(InfoExtractor):
|
||||
|
||||
def _find_json(self, s):
|
||||
return self._search_json(
|
||||
r'\w+\s*:\s*', s, 'next js data', None, contains_pattern=r'\[(?s:.+)\]', default=[])
|
||||
r'\w+\s*:\s*', s, 'next js data', None, contains_pattern=r'\[(?s:.+)\]', default=None)
|
||||
|
||||
def _real_extract(self, url):
|
||||
display_id = self._match_id(url)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user