Skip to content

Commit

Permalink
hotfix: okky crawler in content (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
in-seo committed Jul 12, 2024
1 parent fee0f33 commit 7ef4380
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public void getOkkyPostData() {

String link = "https://okky.kr/articles/"+num;
Document realPost = click(driver, link);
String content = realPost.select("#__next > main > div > div:nth-child(2) > div > div:nth-child(2) > div:nth-child(2) > div:nth-child(3) > div > div > div").text();

String content = realPost.select("#__next > main > div > div:nth-child(2) > div > div:nth-child(3) > div:nth-child(2) > div:nth-child(3) > div > div > div").text();
System.out.println(content);
StringBuilder stack = CrawlerService.parseStack(postName,content);
String talk = "";
talk = CrawlerService.parseTalk(content,talk);
Expand Down

0 comments on commit 7ef4380

Please sign in to comment.