Spaces:
Sleeping
Sleeping
Rohil Bansal
commited on
Commit
·
af2c973
1
Parent(s):
821284f
search improved
Browse files
course_search/scraper/course_scraper.py
CHANGED
@@ -62,7 +62,7 @@ class CourseScraper:
|
|
62 |
course_info['title'] = title_elem.text.strip()
|
63 |
|
64 |
# Extract description
|
65 |
-
desc_elem = soup.find('div', class_='rich-
|
66 |
if desc_elem:
|
67 |
course_info['description'] = desc_elem.text.strip()
|
68 |
|
|
|
62 |
course_info['title'] = title_elem.text.strip()
|
63 |
|
64 |
# Extract description
|
65 |
+
desc_elem = soup.find('div', class_='rich-text__container')
|
66 |
if desc_elem:
|
67 |
course_info['description'] = desc_elem.text.strip()
|
68 |
|