Skip to content

Commit

Permalink
Update Browser.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Athlon1600 committed Jan 12, 2020
1 parent 124d255 commit 9684013
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ public function get($url)
curl_setopt($ch, CURLOPT_COOKIEFILE, $this->cookie_file);

//curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

$result = curl_exec($ch);
Expand Down

0 comments on commit 9684013

Please sign in to comment.