Open erbhosting opened 7 months ago
Download the executable from the following link: https://github.com/lwthiker/curl-impersonate/releases.
code not work i check it!! please check it what is the problem!!
The problem occurs with the file path im/curl_chrome116
make sure it exists. Try to run the command ./im/curl_chrome116 --version
on the command line what is the response?
i think my problem with my os i run this project in windows but need install and use in linux thanks for response
why if i use $curl->setopt(CURLCMDOPT_ENGINE, "/www/wwwroot/com/curl_chrome110"); my page has been blank, but i if not use CURLCMDOPT_ENGINE , i got the curl site.. i use ur script in my vps with os ubuntu
why if i use $curl->setopt(CURLCMDOPT_ENGINE, "/www/wwwroot/com/curl_chrome110"); my page has been blank, but i if not use CURLCMDOPT_ENGINE , i got the curl site.. i use ur script in my vps with os ubuntu
Make sure to check the binary architecture and OS architecture. Ensure that the version of curl-impersonate you are using is compatible with the Ubuntu operating system architecture on your VPS.
hi bro i need to tell me how can download this $curl->setopt(CURLCMDOPT_ENGINE, "/Users/qindexmedia/Downloads/curl-impersonate-v0.5.4.x86_64-macos/curl_safari15_3"); file and use it i have problem with this one i cant find this file i download this file
https://github.com/lwthiker/curl-impersonate/blob/main/chrome/curl_chrome116
and attach it but not work like this:<?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); require 'vendor/autoload.php'; $curl = new CurlImpersonate\CurlImpersonate(); $curl->setopt(CURLCMDOPT_URL, 'https://example.com/'); $curl->setopt(CURLCMDOPT_METHOD, 'GET'); $curl->setopt(CURLCMDOPT_HEADER, false); $curl->setopt(CURLCMDOPT_ENGINE, "im/curl_chrome116"); $response = $curl->execStandard(); echo $response; $curl->closeStream();
check this one and tell me where am i wrong!!