added faceberg videos

This commit is contained in:
lolcat 2023-08-10 22:54:37 -04:00
parent bcc6ce58b3
commit 2913c58cec
5 changed files with 864 additions and 20 deletions

View file

@ -1,12 +1,4 @@
<?php
/*
$brave = new brave();
$handle = fopen("captcha.html", "r");
$html = fread($handle, filesize("captcha.html"));
fclose($handle);
$brave->bypasscaptcha($html, "yes", "ca");*/
class brave{
@ -154,6 +146,11 @@ class brave{
case "no": $nsfw = "strict"; break;
}
if($country == "any"){
$country = "all";
}
$headers = [
"User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/110.0",
"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8",
@ -169,11 +166,6 @@ class brave{
"Sec-Fetch-User: ?1"
];
if($country == "any"){
$country = "all";
}
$curlproc = curl_init();
if($get !== []){
@ -1990,6 +1982,8 @@ class brave{
as $result
){
print_r($result);
$out["image"][] = [
"title" => $result["title"],
"source" => [