Nowadays, a terahertz time-domain spectroscopy (THz TDS) is a well-applicable method for both basic research, industrial applications and security screening. As a rule, the detection and identification of a substance is carried out by comparing the absorption frequencies of the substance under study with the absorption frequencies belonging to the database. To find these frequencies, the substance is irradiated by the THz broadband pulse. Then the pulse, reflected from or transmitted through the substance, is measured. Real conditions and the substance opaque may perturb and attenuate the signal under measurement. Therefore, finding a way to increase the distance at which it is possible to provide reliable measurements and, consequently, enhance a distance of the remote sensing, is an actual problem. In the current study, we discuss a possibility of the broadband THz pulse's spectrum finding based on measurements in time for a substance response at some frequencies belonging to the GHz range of the frequencies, under irradiating the substance by a broadband THz pulse. For simplicity, we consider the transmission mode of the THz spectrometer and illustrate the feasibility of the method using an artificial signal and a real measured signal.