![]() ![]() The output should be the that the names of ob_dist should be the same as obj, but not the same number of names. I want to get the names of the Messier catalog and the page of wikipedia I'm getting the name has a reference number in each cell that I don't want to get, here is my code: url1 = ""įrom import KeysĮlement1 = driver.find_element(By.ID, 'name')Įrr = driver.find_element(By.CLASS_NAME, 'text-error')Įlement2 = driver.find_element(By.XPATH, '/html/body/div/div/div/dl/dd')ĭriver2 = webdriver.Chrome(ChromeDriverManager().install())ĭistance = driver2.find_elements(By.XPATH, = driver2.find_elements(By.XPATH, = ĭist.append(float(distan.replace(",", ".").replace(" ", "."))) ![]()
0 Comments
Leave a Reply. |