https://github.com/sohey-dr/searchtelnum
Find a specific phone number. For example, the company's.
https://github.com/sohey-dr/searchtelnum
go golang google scraper
Last synced: about 1 year ago
JSON representation
Find a specific phone number. For example, the company's.
- Host: GitHub
- URL: https://github.com/sohey-dr/searchtelnum
- Owner: sohey-dr
- License: mit
- Created: 2021-10-30T07:29:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-19T10:05:22.000Z (about 4 years ago)
- Last Synced: 2023-07-27T22:38:12.238Z (almost 3 years ago)
- Topics: go, golang, google, scraper
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Search Tel Num
## About
- use `golang.org/x/net/html`
- If you give searchtelnum your company name and zip code, it will return your phone number.
- Use Google to search for it
- It's faster than goquery for this purpose alone.
## Install
```bash
$ go get -u github.com/sohey-dr/searchtelnum
```
## Usage
### Example
```go
package main
import (
"log"
"github.com/sohey-dr/searchtelnum"
)
func main() {
telNum, err := searchtelnum.Run("Example Inc.", "〒XXX-XXXX")
if err != nil {
log.Fatalln(err)
}
fmt.Println(telNum)
}
```
## License
Released under the [MIT License](https://github.com/sohey-dr/searchtelnum/blob/main/LICENSE).