Skip to content

Commit

Permalink
Correct channels?part=about handle
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-Loison committed Dec 25, 2024
1 parent 91e1358 commit 0e6889e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channels.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ function getItem($id, $order, $continuationToken)
array_push($links, $link);
}
$about['links'] = $links;
$about['handle'] = $c4TabbedHeaderRenderer['channelHandleText']['runs'][0]['text'];
$about['handle'] = substr($result['contents']['twoColumnBrowseResultsRenderer']['tabs'][0]['tabRenderer']['endpoint']['browseEndpoint']['canonicalBaseUrl'], 1);

$item['about'] = $about;
}
Expand Down

0 comments on commit 0e6889e

Please sign in to comment.