We have calculated the proton spectral functions in finite nuclei based on the local density approximation where the properties of finite nuclei and nuclear matter are calculated by the Skyrme-Hartree-Fock method and the extended Brueckner-Hartree-Fock approach, respectively. The scaled spectral function from our calculation is in good agreement with experimental results at small momenta while the difference between them becomes apparent at high momenta. Besides, a target dependence of the scaled proton spectral function is also obtained in our calculation as was observed in experiment. A further investigation indicates that the proportion of the high density region of the proton has a significant contribution to this target-dependent behavior since the spectral function in asymmetric nuclear matter increases significantly as a function of density.