Convert cURL to Go

Tired of running into CAPTCHAs while scraping? SOAX scraping APIs help you get the data you need, without the headaches.

cURL

Output (go)

Other cURL converters

How to extract cURL commands using different browsers

Chrome

Follow these instructions to extract cURL commands in Chrome:

  • Go to your dev tools in Chrome and open the network tab
  • (optional) Filter the request list by data type such as docs (HTML) or Fetch/XHR (JSON)
  • Right click the network request that you want the cURL for
  • Go to copy -> Copy as cURL (bash)
  • Paste the cURL in the converter above to get the python code

Firefox

Follow these instructions to extract cURL commands in Firefrox:

  • Go to your dev tools in Firefox and open the network monitor tab
  • Right click the network request that you want the cURL for
  • Go to copy > Copy as cURL (POSIX)
  • Paste the cURL in the converter above to get the python code

Safari

Follow these instructions to extract cURL commands in Safari:

  • Go to your dev tools in Chrome and open the network tab
  • Right click the request that you want the cURL for
  • Select Copy as cURL from the dropdown
  • Paste the cURL in the converter above to get the python code
OSZAR »