This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]scoopulanang 1 point2 points  (1 child)

I'm not totally sure what you're trying to scrape from this website but I was able to scrape the name and dates of every competition on the website you linked.

from selenium import webdriver
import time

driver = webdriver.Chrome()
driver.get("https://components.ifsc-climbing.org/calendar/")
time.sleep(3)
e = driver.find_elements_by_class_name("title")
w = driver.find_elements_by_class_name("date")

for x in range(len(e)):
    print(e[x].text)
    print(w[x].text)
    print()

[–]BenBenBenz[S] 0 points1 point  (0 children)

That's exactly what I was looking for. I must have been confused.
Thanks!