Retrieving a Website using cURL

As mentioned amongst the anti-CAPTCHA / Cloudflare solution collection, here is a way to retrieve an URL using byparr:

curl \
  -X 'POST' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{ "cmd": "request.get", "url": "WEBSITE_URL", "max_timeout": 60}' \
  http://BYPARR_HOST:BYPARR_PORT/v1 | \
    jq -r 'select(.solution.status == 200).solution.response'

where:

Here jq is used to select a response iff. the HTTP response status from the website is 200 OK which means a successful request.

Note that contrary to other solutions, the request is sent to the byparr server and the actual site to be retrieved is passed as part of parameters that are sent to byparr.