-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
전시회 크롤링입니다 #14
base: main
Are you sure you want to change the base?
전시회 크롤링입니다 #14
Conversation
public List<ObjectNode> exhibitionCrawling() { | ||
|
||
//TODO 드라이버 경로 상황에 맞게 설정, 그에 따른 크롬 및 gradle 의존성 버전도 알맞게 수정 | ||
System.setProperty("webdriver.chrome.driver", "C:/Users/dong/Downloads/chromedriver-win64/chromedriver-win64/chromedriver.exe"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분은 동원님 로컬에서만 동작을하겠군요. 흠 도커로 올릴때 크롬 드라이버도 추가해서 빌드하도록 설정이 필요해보이네요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네넵 맞습니다! 그렇게 진행되어야 할거같아요
제 로컬에서 돌릴때도 하... 의존성 추가하는부분이랑 맞물려서 아무튼... 저기만 본인 크롬브라우저에 맞는 버전으로 바꾸면 돌려볼수있긴합니다
driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(20)); | ||
} | ||
//TODO driver.quit 에러 안나는 방법 서치 | ||
// driver.quit(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DB 통신할때 Connection 뚫고 나중에 끊는것처럼 try-with-resource 방법으로 하면 되지 않을까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
옹.... 참고해서 바꿔보겠습니다!
Refactor: DB, KMS, SSH 값을 변경한다
…cher/batch-service into feat-dw-crawling-job
캠핑 아이템 feign 호출 & db 저장
…into feat-dw-crawling-job
"전시회명, 기간, 분야, 장소" 정도 통합해서 써볼수있을거같고
전시회에 맞는 컬럼으로 "주최" 정도 따로 고려해볼 수 있을거같습니다.