1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-03-11 00:33:12 +00:00

[cleanup] Misc (#15430)

Authored by: bashonly, Grub4K, seproDev

Co-authored-by: sepro <sepro@sepr0.com>
Co-authored-by: Simon Sawicki <contact@grub4k.dev>
This commit is contained in:
bashonly
2026-01-29 10:22:35 -06:00
committed by GitHub
parent ba5e2227c8
commit a65349443b
14 changed files with 84 additions and 78 deletions

View File

@@ -11,6 +11,7 @@ from ..utils import (
OnDemandPagedList,
clean_html,
extract_attributes,
url_or_none,
urljoin,
)
from ..utils.traversal import (
@@ -128,7 +129,7 @@ class TarangPlusVideoIE(TarangPlusBaseIE):
**traverse_obj(metadata, {
'id': ('content_id', {str}),
'title': ('title', {str}),
'thumbnail': ('image', {str}),
'thumbnail': ('image', {url_or_none}),
}),
**traverse_obj(hidden_inputs_data, {
'id': ('content_id', {str}),