@@ -63,7 +63,7 @@ final class RozkladController {
6363 let groupsNames = try await RozkladController . ukrainianAlphabet
6464 . asyncMap { letter -> AllGroupsClientResponse in
6565 let response : ClientResponse = try await client. post (
66- " http://rozklad .kpi.ua/Schedules/ScheduleGroupSelection.aspx/GetGroups " ,
66+ " http://epi .kpi.ua/Schedules/ScheduleGroupSelection.aspx/GetGroups " ,
6767 beforeSend: { clientRequest in
6868 let content = AllGroupClientRequest ( prefixText: letter, count: 100 )
6969 try clientRequest. content. encode ( content)
@@ -79,7 +79,7 @@ final class RozkladController {
7979 return try await groupsNames
8080 . asyncMap { groupName -> [ GroupModel ] in
8181 let response : ClientResponse = try await client. post (
82- " http://rozklad .kpi.ua/Schedules/ScheduleGroupSelection.aspx " ,
82+ " http://epi .kpi.ua/Schedules/ScheduleGroupSelection.aspx " ,
8383 beforeSend: { clientRequest in
8484 clientRequest. headers. add (
8585 name: . contentType,
@@ -104,7 +104,7 @@ final class RozkladController {
104104
105105 func getLessons( for groupUUID: UUID , request: Request ) async throws -> LessonsResponse {
106106 let response = try await request. client. get (
107- " http://rozklad .kpi.ua/Schedules/ViewSchedule.aspx?g= \( groupUUID. uuidString) "
107+ " http://epi .kpi.ua/Schedules/ViewSchedule.aspx?g= \( groupUUID. uuidString) "
108108 )
109109 let html = try ( response. body) . htmlString ( encoding: . utf8)
110110 let lessons = try LessonsParser ( ) . parse ( html)
0 commit comments