반응형 고1 [Google Go 언어] 미니 프로젝트 : Scrapper + Web Step 1 기존 Scrapper 에서 Web을 이용하여 검색어를 입력해보자. 검색어에 맞춰 데이터를 수집하고, 파일을 다운로드 및 삭제해보자. `scrapper/scrapper.go` Windows 에서 읽기가 가능하도록 utf8bom 을 설정 추가 파일 삭제가 가능하도록 flush 추가 package scrapper import ( "encoding/csv" "fmt" "log" "net/http" "os" "strconv" "strings" "time" "github.com/PuerkitoBio/goquery" ) type extractedJob struct { id string title string location string salary string summary string } func Sc.. 2021. 11. 22. 이전 1 다음 반응형