\chapter*{Abstract} The thesis presents the process of creating a system for extracting information about opening hours of holy masses. The methods of collecting data of Polish parishes are being described, especially the process of creating spiders. Then two methods are shown for the extraction of opening hours of masses: a rule-based method and machine learning-based method. More attention is devoted to machine learning-based method that uses a text classifier. \textbf{Key words:} information extraction, web spidering, text classification