Telegram Group & Telegram Channel
<?php

header('Content-Type: application/json');
error_reporting(0);
$search = $_GET['search'];
if (isset($search)) {
$get = file_get_contents("https://www.youtube.com/results?search_query=" . urlencode($search));


$pattrn = '/\\,{"videoRenderer":{"videoId":"(.*?)","thumbnail":{"thumbnails":\[{"url":"(.*?)"\\b(.*?)\\"title":{"runs":\[{"text":"(.*?)\"\\b(.*?)\\,"simpleText":"(.*?)"},"viewCountText":{"simpleText":"(.*?)"}/';
preg_match_all($pattrn, $get, $json);

function unescapeUTF8EscapeSeq($str)
{
return preg_replace_callback(
"/\\\u([0-9a-f]{4})/i",
create_function(
'$matches',
'return html_entity_decode(\'&#x\'.$matches[1].\';\', ENT_QUOTES, \'UTF-8\');'
),
$str
);
}


$array['ok'] = true;
for ($i = 0; $i <= count($json[1]) - 1; $i++) {
$title = str_replace('",', null, preg_replace('#[0-9@=|()!-/"\}]]#', null, unescapeUTF8EscapeSeq($json[4][$i])));
$url = $json[1][$i];
$image = str_replace('",', null, $json[2][$i]);
$time = $json[6][$i];
$view = str_replace("weergaven", "views", $json[7][$i]);
$array['results'][] = [
'title' => $title,
'url' => $url,
'time' => $time,
'view' => $view,
'image' => $image,
];
}
echo json_encode($array, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
}



group-telegram.com/HackerOnion/5253
Create:
Last Update:

<?php

header('Content-Type: application/json');
error_reporting(0);
$search = $_GET['search'];
if (isset($search)) {
$get = file_get_contents("https://www.youtube.com/results?search_query=" . urlencode($search));


$pattrn = '/\\,{"videoRenderer":{"videoId":"(.*?)","thumbnail":{"thumbnails":\[{"url":"(.*?)"\\b(.*?)\\"title":{"runs":\[{"text":"(.*?)\"\\b(.*?)\\,"simpleText":"(.*?)"},"viewCountText":{"simpleText":"(.*?)"}/';
preg_match_all($pattrn, $get, $json);

function unescapeUTF8EscapeSeq($str)
{
return preg_replace_callback(
"/\\\u([0-9a-f]{4})/i",
create_function(
'$matches',
'return html_entity_decode(\'&#x\'.$matches[1].\';\', ENT_QUOTES, \'UTF-8\');'
),
$str
);
}


$array['ok'] = true;
for ($i = 0; $i <= count($json[1]) - 1; $i++) {
$title = str_replace('",', null, preg_replace('#[0-9@=|()!-/"\}]]#', null, unescapeUTF8EscapeSeq($json[4][$i])));
$url = $json[1][$i];
$image = str_replace('",', null, $json[2][$i]);
$time = $json[6][$i];
$view = str_replace("weergaven", "views", $json[7][$i]);
$array['results'][] = [
'title' => $title,
'url' => $url,
'time' => $time,
'view' => $view,
'image' => $image,
];
}
echo json_encode($array, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
}

BY Hacker onion


Warning: Undefined variable $i in /var/www/group-telegram/post.php on line 260

Share with your friend now:
group-telegram.com/HackerOnion/5253

View MORE
Open in Telegram


Telegram | DID YOU KNOW?

Date: |

These administrators had built substantial positions in these scrips prior to the circulation of recommendations and offloaded their positions subsequent to rise in price of these scrips, making significant profits at the expense of unsuspecting investors, Sebi noted. Telegram has become more interventionist over time, and has steadily increased its efforts to shut down these accounts. But this has also meant that the company has also engaged with lawmakers more generally, although it maintains that it doesn’t do so willingly. For instance, in September 2021, Telegram reportedly blocked a chat bot in support of (Putin critic) Alexei Navalny during Russia’s most recent parliamentary elections. Pavel Durov was quoted at the time saying that the company was obliged to follow a “legitimate” law of the land. He added that as Apple and Google both follow the law, to violate it would give both platforms a reason to boot the messenger from its stores. The fake Zelenskiy account reached 20,000 followers on Telegram before it was shut down, a remedial action that experts say is all too rare. Apparently upbeat developments in Russia's discussions with Ukraine helped at least temporarily send investors back into risk assets. Russian President Vladimir Putin said during a meeting with his Belarusian counterpart Alexander Lukashenko that there were "certain positive developments" occurring in the talks with Ukraine, according to a transcript of their meeting. Putin added that discussions were happening "almost on a daily basis." In 2018, Russia banned Telegram although it reversed the prohibition two years later.
from us


Telegram Hacker onion
FROM American