Open spapapan opened 1 year ago
I try to make a request with proxy:
$instagram = new \InstagramScraper\Instagram(new \GuzzleHttp\Client()); $instagram::setProxy($proxySettings); $account = $instagram->getAccount('kevin');
and I get this error:
Fatal error: Uncaught Unirest\Exception: Empty reply from server in .../vendor/mashape/unirest-php/src/Unirest/Request.php:476 Stack trace: #0 .../vendor/mashape/unirest-php/src/Unirest/Request.php(236): Unirest\Request::send('GET', 'https://www.ins...', NULL, Array, NULL, NULL) #1 .../vendor/raiym/instagram-php-scraper/src/InstagramScraper/Instagram.php(448): Unirest\Request::get('https://www.ins...', Array) #2 .../promoai/test.php(36): InstagramScraper\Instagram->getAccount('kevin') #3 {main} thrown in .../vendor/mashape/unirest-php/src/Unirest/Request.php on line 476
Any idea how to fix this? Is this library still working?
I try to make a request with proxy:
$instagram = new \InstagramScraper\Instagram(new \GuzzleHttp\Client()); $instagram::setProxy($proxySettings); $account = $instagram->getAccount('kevin');
and I get this error:
Fatal error: Uncaught Unirest\Exception: Empty reply from server in .../vendor/mashape/unirest-php/src/Unirest/Request.php:476 Stack trace: #0 .../vendor/mashape/unirest-php/src/Unirest/Request.php(236): Unirest\Request::send('GET', 'https://www.ins...', NULL, Array, NULL, NULL) #1 .../vendor/raiym/instagram-php-scraper/src/InstagramScraper/Instagram.php(448): Unirest\Request::get('https://www.ins...', Array) #2 .../promoai/test.php(36): InstagramScraper\Instagram->getAccount('kevin') #3 {main} thrown in .../vendor/mashape/unirest-php/src/Unirest/Request.php on line 476
Any idea how to fix this? Is this library still working?