Palladium (Pd) capture from high-level liquid waste for subsequent photocatalytic applications is desirable for the development of nuclear energy and the reutilization of valuable resources. Herein, we approach our design with a unique porous organic polymer containing thiazolo[5,4-d]thiazole units (denoted as TzPOP-OH). It possesses two potential soft-hard (N-O and S-O) combined coordination sites for Pd(II) coordination and features strong donor-acceptor repeating units and high planarity of linkage enforced by hydrogen bonds for subsequent photocatalysis. Accordingly, TzPOP-OH with three hydroxyl groups on the linkage exhibits a high Pd(II) capacity of 369 mg g-1 at 3 M HNO3, considerably surpassing those of the controlled polymer TzPOP without hydroxyl groups and most other reported materials. Additionally, TzPOP-OH boasts other merits, including outstanding acid tolerance, extraordinary radiation stability, good reusability, and remarkable selectivity. After palladium adsorption, Pd@TzPOP-OH demonstrates impressive photodegradation efficiency to reduce the concentration of rhodamine B in contaminated urban water from 10 to less than 0.1 ppm. This work provides a feasible approach to designing materials with both suitable coordination microenvironments and semiconductor properties for metal separation and photocatalysis.