mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-17 08:11:41 +00:00
[cleanup] Misc (#11347)
Closes #11361 Authored by: avagordon01, bashonly, grqz, Grub4K, seproDev Co-authored-by: Ava Gordon <[email protected]> Co-authored-by: bashonly <[email protected]> Co-authored-by: N/Ame <[email protected]> Co-authored-by: Simon Sawicki <[email protected]>
This commit is contained in:
co-authored by
Ava Gordon
bashonly
N/Ame
Simon Sawicki
parent
b03267bf06
commit
197d0b03b6
@@ -136,7 +136,7 @@ class TeamcocoIE(TeamcocoBaseIE):
|
||||
'blocks', lambda _, v: v['name'] in ('meta-tags', 'video-player', 'video-info'), 'props', {dict})))
|
||||
|
||||
thumbnail = traverse_obj(
|
||||
info, (('image', 'poster'), {lambda x: urljoin('https://teamcoco.com/', x)}), get_all=False)
|
||||
info, (('image', 'poster'), {urljoin('https://teamcoco.com/')}), get_all=False)
|
||||
video_id = traverse_obj(parse_qs(thumbnail), ('id', 0)) or display_id
|
||||
|
||||
formats, subtitles = self._get_formats_and_subtitles(info, video_id)
|
||||
|
||||
Reference in New Issue
Block a user