The Parse service
The Parse service is responsible for parsing data out of an HTML page and returning it in an easily usable format, such as CSV, XML, or JSON. The Parse service relies on the Fetch service to retrieve the page, and does not function on its own. To get started using the Parse service, first navigate to your local repository and run go build from the cmd/parse.d directory. Once the build completes, you can start the service via ./parse.d. There are many options you can set when configuring the Parse service that will determine the backend it uses to cache the results: how to handle pagination, the location of the Fetch service, and so on. For now, we will use the standard defaults.
To send commands to the Parse service, you ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access