[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:
sepro
2024-11-04 01:33:21 +01:00
committed by GitHub
co-authored by Ava Gordon bashonly N/Ame Simon Sawicki
parent b03267bf06
commit 197d0b03b6
72 changed files with 239 additions and 253 deletions
+1 -1
View File
@@ -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)