|
@@ -1209,15 +1209,16 @@ class yt{
|
|
|
|
|
|
|
|
$reel =
|
|
$reel =
|
|
|
$reel
|
|
$reel
|
|
|
- ->reelItemRenderer;
|
|
|
|
|
|
|
+ ->shortsLockupViewModel;
|
|
|
|
|
|
|
|
array_push(
|
|
array_push(
|
|
|
$this->out["reel"],
|
|
$this->out["reel"],
|
|
|
[
|
|
[
|
|
|
"title" =>
|
|
"title" =>
|
|
|
$reel
|
|
$reel
|
|
|
- ->headline
|
|
|
|
|
- ->simpleText,
|
|
|
|
|
|
|
+ ->overlayMetadata
|
|
|
|
|
+ ->primaryText
|
|
|
|
|
+ ->content,
|
|
|
"description" => null,
|
|
"description" => null,
|
|
|
"author" => [
|
|
"author" => [
|
|
|
"name" => null,
|
|
"name" => null,
|
|
@@ -1225,30 +1226,22 @@ class yt{
|
|
|
"avatar" => null
|
|
"avatar" => null
|
|
|
],
|
|
],
|
|
|
"date" => null,
|
|
"date" => null,
|
|
|
- "duration" =>
|
|
|
|
|
- $this->textualtime2int(
|
|
|
|
|
- $reel
|
|
|
|
|
- ->accessibility
|
|
|
|
|
- ->accessibilityData
|
|
|
|
|
- ->label
|
|
|
|
|
- ),
|
|
|
|
|
- "views" =>
|
|
|
|
|
- $this->truncatedcount2int(
|
|
|
|
|
- $reel
|
|
|
|
|
- ->viewCountText
|
|
|
|
|
- ->simpleText
|
|
|
|
|
- ),
|
|
|
|
|
|
|
+ "duration" => null,
|
|
|
|
|
+ "views" => null,
|
|
|
"thumb" => [
|
|
"thumb" => [
|
|
|
"url" =>
|
|
"url" =>
|
|
|
$reel
|
|
$reel
|
|
|
->thumbnail
|
|
->thumbnail
|
|
|
- ->thumbnails[0]
|
|
|
|
|
|
|
+ ->sources[0]
|
|
|
->url,
|
|
->url,
|
|
|
"ratio" => "9:16"
|
|
"ratio" => "9:16"
|
|
|
],
|
|
],
|
|
|
"url" =>
|
|
"url" =>
|
|
|
"https://www.youtube.com/watch?v=" .
|
|
"https://www.youtube.com/watch?v=" .
|
|
|
$reel
|
|
$reel
|
|
|
|
|
+ ->onTap
|
|
|
|
|
+ ->innertubeCommand
|
|
|
|
|
+ ->reelWatchEndpoint
|
|
|
->videoId
|
|
->videoId
|
|
|
]
|
|
]
|
|
|
);
|
|
);
|