fix bug that SpiderManager get the wrong url_id, start to refactor spider part