Merge pull request 'CourseListParser: don't replace https with httpss' (#28) from fix-course-list-parser into master
Reviewed-on: #28
This commit is contained in:
commit
a5d13629e5
|
@ -44,7 +44,7 @@ class CourseListParser {
|
|||
courseHTML.select("ul.index-group").select("li.Class").select("a[href]").forEachIndexed { _, element ->
|
||||
courseLinkList[element.text()] = Course(
|
||||
element.text(),
|
||||
element.attr("href").replace("http", "https")
|
||||
element.attr("href").replace("http:", "https:")
|
||||
)
|
||||
}
|
||||
logger.info("successfully retrieved course List")
|
||||
|
|
Loading…
Reference in New Issue