Documentation ¶
Index ¶
- Variables
- func BuildCourseSelectionPrompt() promptui.Select
- func CourseBaseUrl() string
- func DownloadResource(r *colly.Response)
- func GetCoursePdfs(e *colly.HTMLElement)
- func GetCourses(e *colly.HTMLElement)
- func SelectResources(idx int, resources *[]Resource, course *Course) (*[]Resource, error)
- func Url() string
- type Course
- type Resource
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Courses *[]Course = &[]Course{} Userprofile_element string = "div.userprofile" Coursesite_element string = "div.course-content" )
Functions ¶
func CourseBaseUrl ¶
func CourseBaseUrl() string
func DownloadResource ¶
func DownloadResource(r *colly.Response)
func GetCoursePdfs ¶
func GetCoursePdfs(e *colly.HTMLElement)
func GetCourses ¶
func GetCourses(e *colly.HTMLElement)
func SelectResources ¶
Types ¶
type Course ¶
func GetCourseByName ¶
Click to show internal directories.
Click to hide internal directories.