From d3f266118cb63a255bfdb95950b30cf5c1069a2b Mon Sep 17 00:00:00 2001 From: Yoongi Kim <38288705+YoongiKim@users.noreply.github.com> Date: Thu, 6 Dec 2018 11:25:16 +0900 Subject: [PATCH] Show more results button language compatibility --- collect_links.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/collect_links.py b/collect_links.py index b1aacf2..5b7bcc6 100644 --- a/collect_links.py +++ b/collect_links.py @@ -55,7 +55,8 @@ def google(self, keyword): time.sleep(0.2) try: - btn_more = self.browser.find_element(By.XPATH, '//input[@value="결과 더보기"]') + # btn_more = self.browser.find_element(By.XPATH, '//input[@value="결과 더보기"]') + btn_more = self.browser.find_element(By.XPATH, '//input[@id="smb"]') btn_more.click() for i in range(60):