CourseListParser: don't replace https with httpss
This commit is contained in:
parent
0f59fb51b4
commit
a3b3c40d77
|
@ -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