Let $X$ be a locally compact space and $Y$ hausdorff
Let $f:X \to Y$ be a surjective, continuous and open function.
I need to show that given $K \subset Y$ compact there exists $L \subset X$ compact such that $f(L)=K$
What I tried : Given such $K$, consider $f^{-1}(K)$, for each $x \in f^{-1}(K)$ there is a compact neighbourhood $C_x$ of $x$, cover $f^{-1}(K)$ with those compact subsets. I'm trying to show that $f^{-1}(K)$ is a finite union of those subsets. Since finite union of compact is compact and $f$ is surjective I could just define $L=f^{-1}(K)$
I know that $f(C_x)$ is open and covers $K$, but having a finite amount covering $K$ doesn't mean a finite amount of those will cover $L$
I don't know how I can use the fact that $Y$ is hausdorff besides saying that $f^{-1}(K)$ is closed.
Any advice on how to proceed?