Skip to content

Commit

Permalink
add browser close
Browse files Browse the repository at this point in the history
  • Loading branch information
m1yon committed May 6, 2024
1 parent 0452c86 commit be5fd45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/linkedincrawler/linkedincrawler.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ func scrape(db *sql.DB, options scrapeOptions) {
return
}

defer browser.MustClose()

if proxyEnabled {
go browser.MustHandleAuth(PROXY_USERNAME, PROXY_PASSWORD)()
}
Expand Down

0 comments on commit be5fd45

Please sign in to comment.