change database to pg
modify crawler