聊斎志異
The plot is loosely based on the fantasy story Nie Xiaoqian (Nip Siu Sin) from Pu Songling's "Strange Stories from a Chinese Studio", about a poor traveling scholar who encounters a beautiful female ghost.