Merge pull request 'core/http-server' (#1) from core/http-server into main
Reviewed-on: #1
This commit is contained in:
commit
07bb549d44
@ -61,7 +61,7 @@ var (
|
|||||||
fName string = "jobs.json"
|
fName string = "jobs.json"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func scrapeJobs() {
|
||||||
|
|
||||||
file, err := os.Create(fName)
|
file, err := os.Create(fName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -145,3 +145,7 @@ func main() {
|
|||||||
c.Visit(searchString)
|
c.Visit(searchString)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
scrapeJobs()
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user