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: |

That hurt tech stocks. For the past few weeks, the 10-year yield has traded between 1.72% and 2%, as traders moved into the bond for safety when Russia headlines were ugly—and out of it when headlines improved. Now, the yield is touching its pandemic-era high. If the yield breaks above that level, that could signal that it’s on a sustainable path higher. Higher long-dated bond yields make future profits less valuable—and many tech companies are valued on the basis of profits forecast for many years in the future. 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. The Russian invasion of Ukraine has been a driving force in markets for the past few weeks. The message was not authentic, with the real Zelenskiy soon denying the claim on his official Telegram channel, but the incident highlighted a major problem: disinformation quickly spreads unchecked on the encrypted app. Official government accounts have also spread fake fact checks. An official Twitter account for the Russia diplomatic mission in Geneva shared a fake debunking video claiming without evidence that "Western and Ukrainian media are creating thousands of fake news on Russia every day." The video, which has amassed almost 30,000 views, offered a "how-to" spot misinformation.
from de


Telegram Hacker onion
FROM American