I try to scrap this page and all the result of sells.
But nothing append, the code return me nothing. I would like to have the seller+buyer+price and date on dataframe or something like this
Best
https://www.fxhash.xyz/marketplace/generative/15063
driver = webdriver.Chrome(ChromeDriverManager().install()) #webdriver.Firefox()
driver.get("https://www.fxhash.xyz/marketplace/generative/15063")
# que la page charge avant de passer à la suite
time.sleep(5)
#driver.find_element_by_id('activity').click()
driver.find_element(By.XPATH, '//div[contains(text(),"activity")]').click()
*#Find the acticity page*
activities = driver.find_elements(By.XPATH, '//article[@class="Action_container__uURkZ Action_is_link__7x4O4"]')
time.sleep(5)
*#grab the element*
elements_list = driver.find_elements_by_xpath("//div[contains(@class, 'Activity_container__E7eID Activity_activity__kwRfH')]/a[contains(@class, 'Action_container__uURkZ Action_is_link__7x4O4')]")
for element in elements_list:
driver.execute_script("arguments[0].scrollIntoView(true);", element)
print(element.get_attribute("href"))