One of the latest innovations in education has been the possibility of distance learning through online e-courses. On educational online platforms, Massive Open Online Courses are presented in a variety of areas. However, the sheer number of courses, books, and video tutorials available on these platforms, as well as their constant change and expansion, make it difficult to find the right and really useful resources. The ChooseYourCourse distance learning system is designed to automatically generate recommendations for e-courses. The paper describes the algorithms of the content processing module of the ChooseYourCourse system, which are responsible for collecting and processing various courses from the Internet. The paper describes the application architecture, creates models of the course and the primary user profile. It develops correlation measures between courses, as well as between subcategories. The system aggregates e-courses and forms the linking structure between them as a weighted graph. Each link and its weight determine the similarity of the courses. Personal recommendations are based on the acquired data.