mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 14:37:43 +01:00
[ae] Use JSON-LD for TV series metadata
This commit is contained in:
parent
4ca2a3cf3c
commit
b4e44234bc
@ -55,4 +55,9 @@ def _real_extract(self, url):
|
|||||||
]
|
]
|
||||||
video_url = self._search_regex(video_url_re, webpage, 'video url')
|
video_url = self._search_regex(video_url_re, webpage, 'video url')
|
||||||
|
|
||||||
return self.url_result(smuggle_url(video_url, {'sig': {'key': 'crazyjava', 'secret': 's3cr3t'}}))
|
info = self._search_json_ld(webpage, video_id, fatal=False)
|
||||||
|
info.update({
|
||||||
|
'_type': 'url_transparent',
|
||||||
|
'url': smuggle_url(video_url, {'sig': {'key': 'crazyjava', 'secret': 's3cr3t'}}),
|
||||||
|
})
|
||||||
|
return info
|
||||||
|
Loading…
Reference in New Issue
Block a user