Skip to content

Commit

Permalink
♻️ refactor: ChromeDriver 대기 시간 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
seoshinehyo authored Feb 10, 2025
1 parent 1f62f12 commit e9ce9e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class CrawlerService {
public String getRandomImageUrl(String keyword) {

WebDriver driver = getWebDriver();
WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(5));
WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(30));

try {
String searchUrl = "https://kr.pinterest.com/search/pins/?q=" + URLEncoder.encode(keyword, StandardCharsets.UTF_8);
Expand Down

0 comments on commit e9ce9e0

Please sign in to comment.