public async Task <Event> GetEvent(string eventId) { var urlPart = $"state=verpublish&status=init&vmfile=no&publishid={eventId}&moduleCall=webInfo&publishConfFile=webInfo&publishSubDir=veranstaltung"; var document = await _httpClient.GetHtmlAsync(_httpClient.Url(urlPart)); var links = _parser.GetIcalLinksFromDocument(document); var icals = await Task.WhenAll(links.Select(_httpClient.GetStringAsync)); var calendars = icals.Select(source => _parser.ParseICalendar(source)); return(_parser.Parse(eventId, calendars)); }