added faceberg videos
This commit is contained in:
parent
bcc6ce58b3
commit
2913c58cec
5 changed files with 864 additions and 20 deletions
|
@ -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" => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue