Notice: file_put_contents(): Write of 799 bytes failed with errno=28 No space left on device in /var/www/group-telegram/post.php on line 50

Warning: file_put_contents(): Only 8192 of 8991 bytes written, possibly out of free disk space in /var/www/group-telegram/post.php on line 50
Hacker onion | Telegram Webview: HackerOnion/5253 -
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: |

In a message on his Telegram channel recently recounting the episode, Durov wrote: "I lost my company and my home, but would do it again – without hesitation." Despite Telegram's origins, its approach to users' security has privacy advocates worried. You may recall that, back when Facebook started changing WhatsApp’s terms of service, a number of news outlets reported on, and even recommended, switching to Telegram. Pavel Durov even said that users should delete WhatsApp “unless you are cool with all of your photos and messages becoming public one day.” But Telegram can’t be described as a more-secure version of WhatsApp. Pavel Durov, a billionaire who embraces an all-black wardrobe and is often compared to the character Neo from "the Matrix," funds Telegram through his personal wealth and debt financing. And despite being one of the world's most popular tech companies, Telegram reportedly has only about 30 employees who defer to Durov for most major decisions about the platform. Ukrainian President Volodymyr Zelensky said in a video message on Tuesday that Ukrainian forces "destroy the invaders wherever we can."
from in


Telegram Hacker onion
FROM American