The recommended way to install DataHen Till is by downloading one of the standalone binaries according to your OS.
You need to get your auth token to run Till.
Get your token by signing up for a FREE account at till.datahen.com.
start the Till server with the following command:
$ till serve -t <your token here>
You can connect your scraper to Till without many code changes.
If you want to connect to Till using curl, this is how:
$ curl -k --proxy http://localhost:2933 https://fetchtest.datahen.com/echo/request
Now, you can start seeing the stats change on the Till UI on http://localhost:2980.
You can also see the request log on http://localhost:2980/requests.
Till decrypts and encrypts HTTPS traffic on the fly between your scraper and the target websites. To do so, your scraper (or browser) must be able to trust the built-in Certificate Authority (CA). This means the CA certificate that Till generates for you, needs to be installed on the computer where the scraper is running.
Note: If you do not wish to install the CA certificate, you can still have your scraper connect to the Till server by disabling/ignoring security checks in your scraper. Please refer to the programming language/framework/tool that your scraper uses.
The first time Till runs as a server, Till generates the CA certificates in the following directory:
Linux or macOS:
Then, please follow the following instructions to install the CA certificates:
certutil with the following command:
certutil -addstore root <path to your CA cert file>
Read more about certutil
How To Use