{"action":"opened","issue":{"url":"https://api.github.com/repos/shezhiming/youzhan/issues/1","repository_url":"https://api.github.com/repos/shezhiming/youzhan","labels_url":"https://api.github.com/repos/shezhiming/youzhan/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/shezhiming/youzhan/issues/1/comments","events_url":"https://api.github.com/repos/shezhiming/youzhan/issues/1/events","html_url":"https://github.com/shezhiming/youzhan/issues/1","id":238020414,"number":1,"title":"记录携程爬取过程","user":{"login":"shezhiming","id":13965087,"avatar_url":"https://avatars0.githubusercontent.com/u/13965087?v=3","gravatar_id":"","url":"https://api.github.com/users/shezhiming","html_url":"https://github.com/shezhiming","followers_url":"https://api.github.com/users/shezhiming/followers","following_url":"https://api.github.com/users/shezhiming/following{/other_user}","gists_url":"https://api.github.com/users/shezhiming/gists{/gist_id}","starred_url":"https://api.github.com/users/shezhiming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shezhiming/subscriptions","organizations_url":"https://api.github.com/users/shezhiming/orgs","repos_url":"https://api.github.com/users/shezhiming/repos","events_url":"https://api.github.com/users/shezhiming/events{/privacy}","received_events_url":"https://api.github.com/users/shezhiming/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-23T02:02:34Z","updated_at":"2017-06-23T02:02:34Z","closed_at":null,"body":"根据酒店的名称定点爬取酒店数据信息，需要好几个步骤\r\n1.携程每个城市会对应一个城市Id，抓取数据包的时候是用这个Id来标识城市，故而需要建立一个 城市-id 的关联数据库，需要从http://hotels.ctrip.com/domestic-city-hotel.html爬取html并解析存储到数据库\r\n2.定点爬取携程酒店是通过发送一串json数据到http://m.ctrip.com/restapi/soa2/10932/hotel/Product/domestichotelget?_fxpcqlniredt=09031137211999077688，这个是通过HttpClient实现的。\r\n3.最后通过返回的jsonArray数据解析出自己真正想要的数据信息。"}}
{"actor":{"display_login":"shezhiming"}}