i've aready got the sub link on the homepage. But try to take title for each sub link. Can anyone help me! thanks you!
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
tem_data = {'URL':[], #make database,
'Title':[]}
driver = webdriver.Edge()
driver.get("https://m.cafe.naver.com/ca-fe/minivelobike")
URL = ([my_elem.get_attribute("href") for my_elem in WebDriverWait(driver, 20).until(EC.visibility_of_all_elements_located((By.XPATH, "//a[@class='txt_area' and @href]")))])
Title = "some code to get 'tit" #get title of each URL[enter image description here][1]
tem_data['URL'].append(URL)
tem_data['Title'].append(Title)
print(tem_data)
Keyword_seach=('xxx.db')