Skip to content

Commit

Permalink
update ua for semantic (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbraswell authored Jan 7, 2023
1 parent c419f5c commit 4bffc9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/legacy/semantic/bmlt_semantic.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public static function call_curl(
curl_setopt($resource, CURLOPT_ENCODING, 'gzip,deflate');

// Pretend we're a browser, so that anti-cURL settings don't pooch us.
curl_setopt($resource, CURLOPT_USERAGENT, "cURL Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20130401 Firefox/21.0");
curl_setopt($resource, CURLOPT_USERAGENT, "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36");

// Trust meeeee...
curl_setopt($resource, CURLOPT_SSL_VERIFYPEER, false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function call_curl(
curl_setopt($resource, CURLOPT_ENCODING, 'gzip,deflate');

// Pretend we're a browser, so that anti-cURL settings don't pooch us.
curl_setopt($resource, CURLOPT_USERAGENT, "cURL Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20130401 Firefox/21.0");
curl_setopt($resource, CURLOPT_USERAGENT, "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36");

// Trust meeeee...
curl_setopt($resource, CURLOPT_SSL_VERIFYPEER, false);
Expand Down

0 comments on commit 4bffc9b

Please sign in to comment.