remove api code and modify spider for the new api path.