Toped-Scrapper is a Go-based application for scraping product information from Tokopedia. It uses a CLI for user interaction, allowing users to specify search parameters like product category, limit, and number of workers. The application fetches product data asynchronously using goroutines and worker pools, stores the data in a PostgreSQL database, and outputs the results in a CSV file.
- Fetch products from Tokopedia based on user-defined parameters.
- Asynchronous data fetching and insertion using goroutines and worker pools.
- Storing fetched data in PostgreSQL.
- Generating a CSV report of fetched products.
- Dockerized setup for easy deployment and environment management.
These instructions will guide you through setting up and running Toped-Scrapper on your local machine.
- Docker
- Make
- Golang
- Clone the repository:
git clone https://github.com/jonatanlaksamanapurnomo/go-scrapper
- Go Root directory:
make go-run-cli