Skip to content

SantoshSah/go-rod-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a sample project for scraping Insurance Product Type and list of insurance products of a particular product type from website https://nepallife.com.np/en/home

Website: https://nepallife.com.np/en/home Product Page: https://nepallife.com.np/en/products

Setup

  1. add .env file
  2. add below content to .env file PRODUCT_TYPE_URL=https://nepallife.com.np/en/products

Command to run

$ go run .

Test commands

$ go test -timeout 60s -run ^TestGetProducts$ github.com/SantoshSah/go-rod-sample

$ go test -timeout 60s -run ^TestGetProductsForType$ github.com/SantoshSah/go-rod-sample

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages