Skip to content

Commit

Permalink
Add stealthProxy() and ownProxy()
Browse files Browse the repository at this point in the history
  • Loading branch information
ziming committed Jun 14, 2022
1 parent 9bc85a4 commit 47824ed
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/LaravelScrapingBee.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,26 @@ public function premiumProxy(): self
return $this;
}

/**
* https://www.scrapingbee.com/documentation/#stealth_proxy
*/
public function stealthProxy(): self
{
$this->params['stealth_proxy'] = true;

return $this;
}

/**
* https://www.scrapingbee.com/documentation/#own_proxy
*/
public function ownProxy(string $proxy): self
{
$this->params['own_proxy'] = $proxy;

return $this;
}

/**
* https://www.scrapingbee.com/documentation/#javascript-rendering
*/
Expand Down

0 comments on commit 47824ed

Please sign in to comment.