This is a basic Go application using the Fiber framework to create scraping tasks in colly.
- Clone the repository.
- Navigate to the project directory.
- Run
docker compose up --build
. - Visit
http://127.0.0.1:3000/api/healthchecker
in a web browser or use a tool likecurl
to test it. - Send
GET
request tohttp://127.0.0.1:3000/scrape/coursera
to start scraping Coursera courses. Andhttp://127.0.0.1:3000/scrape/quotes
to scrapequotes.toscrape.com
.
- Scrapes data from websites and stores in PostgreSQL database.