fix bug in bot to retrieve labs urls

This commit is contained in:
cris 2025-07-16 18:07:42 +02:00
parent 9b5b91828d
commit 649bfa970b
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ class Bot():
#Go to sections urls
self.driver.get(f'{self.LABS_URL}{topic_name}')
self.__wait_random_time(min_seconds=5, max_seconds=7)
#Find all <a> elements that have the topic prefix in the href
links = self.driver.find_elements(By.CLASS_NAME, 'flex-columns')