package
0.0.0-20240303235359-511227b8aea2
Repository: https://github.com/lukmanern/go-with-me.git
Documentation: pkg.go.dev
# README
WEB URLs Extractor
This code is a simple example of how to extract URLs from an HTTP response in Go.
To use this code, you will need to:
- Import the necessary packages, including "fmt", "io/ioutil", and "net/http".
- Make an HTTP GET request to the website you want to extract URLs from.
- Read the response body and close the response.
- Create a regular expression to match URLs.
- Find all URLs that match the regular expression in the response body.
- Print the matches.