onance and has been investigated along with the effects of the low-energy enhancement of the photon strength function for nuclides in medium-and heavy-mass nuclei. Cubic-spline interpolations to both data sets show a significant reduction of the nuclear dipole polarizability for semi-magic and doubly magic nuclei, with magic numbers N = 28, 50, 82 and 126, which supports shell effects at high-excitation energies from the quasi-continuum to the giant dipole resonance. This work expands on the data analysis of our recent publication in Ngwetsheni and Orce (Phys. Lett. B 792, 335, 2019), which reveals a new spectroscopic probe to search for "old" and "new" magic numbers at high-excitation energies. New results presented in this work suggest an even higher sensitivity of the nuclear polarizability to shell effects when extrapolating the low-energy enhancement at lower gamma-ray energies.