fix some php warnings

This commit is contained in:
2026-10-24 04:03:00 -04:00
parent e1d0ab121f
commit 25d4f991c2
5 changed files with 180 additions and 139 deletions
+10 -1
View File
@@ -678,6 +678,15 @@ class yt{
$video["longBylineText"]
),
"url" =>
isset(
$video["ownerText"]
["runs"]
[0]
["navigationEndpoint"]
["commandMetadata"]
["webCommandMetadata"]
["url"]
) ?
"https://www.youtube.com" .
$video["ownerText"]
["runs"]
@@ -685,7 +694,7 @@ class yt{
["navigationEndpoint"]
["commandMetadata"]
["webCommandMetadata"]
["url"],
["url"] : null,
"avatar" =>
$video["channelThumbnailSupportedRenderers"]
["channelThumbnailWithLinkRenderer"]