Файловый менеджер - Редактировать - /var/www/fetish/api/test.php
Назад
<?php require('../core/init.php'); use \fetish\db; use \fetish\utils; //Get the current token $video = 'https://poopeegirls.com/v-484-depraved-girl-pooping-on-camera.html'; $ch = curl_init(); $headers = array( 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', //'accept-encoding: gzip, deflate, br', 'accept-language: en-US,en;q=0.9', 'cache-control: max-age=0', 'cookie: _ga=GA1.2.1213098757.1633438360; _gid=GA1.2.1774322758.1633438360', 'sec-ch-ua: "Google Chrome";v="93", " Not;A Brand";v="99", "Chromium";v="93"', 'sec-ch-ua-mobile: ?0', 'sec-ch-ua-platform: "macOS"', 'sec-fetch-dest: document', 'sec-fetch-mode: navigate', 'sec-fetch-site: none', 'sec-fetch-user: ?1', 'upgrade-insecure-requests: 1', 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36' ); curl_setopt($ch, CURLOPT_URL, $video); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); // follow redirects curl_setopt($ch, CURLOPT_AUTOREFERER, 1); // set referer on redirect // Timeout in seconds curl_setopt($ch, CURLOPT_TIMEOUT, 20); $html = curl_exec($ch); die($html); ?>
| ver. 1.4 |
Github
|
.
| PHP 7.0.33-0ubuntu0.16.04.16 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка