modules.dhbw.lecture_importer.CourseImporter
- class modules.dhbw.lecture_importer.CourseImporter[source]
Bases:
Importer
Class to achieve the list of all courses of the DHBW Mannheim.
- urlstr
Universal given link for the dhbw-course-calendars.
- course_listList[str]
List containing all courses (e.g. “TINF19 IT2”) after scraping
- uid_listuid_list[str]
List containing all course-uid’s after scraping
Methods
method to drop an header
Get a course uid by providing a course name.
Method to scrape the list of all courses.
Attributes
headers
scraped_data
url
- drop_header(header) None
method to drop an header
- header: str
the name of the header which should be dropped
None