mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-05-23 07:42:42 +00:00
[ie/ctvnews] Expect type
Authored by: bashonly
This commit is contained in:
parent
fdb14d9438
commit
df914c8327
@ -176,7 +176,7 @@ class CTVNewsIE(InfoExtractor):
|
|||||||
self._ninecninemedia_url_result(clip_id) for clip_id in
|
self._ninecninemedia_url_result(clip_id) for clip_id in
|
||||||
traverse_obj(webpage, (
|
traverse_obj(webpage, (
|
||||||
{find_element(tag='jasper-player-container', html=True)},
|
{find_element(tag='jasper-player-container', html=True)},
|
||||||
{extract_attributes}, 'axis-ids', {json.loads}, ..., 'axisId'))
|
{extract_attributes}, 'axis-ids', {json.loads}, ..., 'axisId', {str}))
|
||||||
]
|
]
|
||||||
|
|
||||||
return self.playlist_result(entries, page_id)
|
return self.playlist_result(entries, page_id)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user