{"action":"created","issue":{"url":"https://api.github.com/repos/ly0/baidupcsapi/issues/65","repository_url":"https://api.github.com/repos/ly0/baidupcsapi","labels_url":"https://api.github.com/repos/ly0/baidupcsapi/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/ly0/baidupcsapi/issues/65/comments","events_url":"https://api.github.com/repos/ly0/baidupcsapi/issues/65/events","html_url":"https://github.com/ly0/baidupcsapi/pull/65","id":267355453,"number":65,"title":"修复self.user['token']不存在问题","user":{"login":"lazygunner","id":2744204,"avatar_url":"https://avatars0.githubusercontent.com/u/2744204?v=4","gravatar_id":"","url":"https://api.github.com/users/lazygunner","html_url":"https://github.com/lazygunner","followers_url":"https://api.github.com/users/lazygunner/followers","following_url":"https://api.github.com/users/lazygunner/following{/other_user}","gists_url":"https://api.github.com/users/lazygunner/gists{/gist_id}","starred_url":"https://api.github.com/users/lazygunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazygunner/subscriptions","organizations_url":"https://api.github.com/users/lazygunner/orgs","repos_url":"https://api.github.com/users/lazygunner/repos","events_url":"https://api.github.com/users/lazygunner/events{/privacy}","received_events_url":"https://api.github.com/users/lazygunner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-21T06:38:27Z","updated_at":"2017-10-22T12:24:20Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ly0/baidupcsapi/pulls/65","html_url":"https://github.com/ly0/baidupcsapi/pull/65","diff_url":"https://github.com/ly0/baidupcsapi/pull/65.diff","patch_url":"https://github.com/ly0/baidupcsapi/pull/65.patch"},"body":"通过加载cookie文件完成登陆，但是没有设置user['token']字段，导致发送请求时报KeyError错误。\r\n通过在load_cookies()中添加`self.user['token'] = self._get_token()`进行修复\r\n关联issue #64 "},"comment":{"url":"https://api.github.com/repos/ly0/baidupcsapi/issues/comments/338473361","html_url":"https://github.com/ly0/baidupcsapi/pull/65#issuecomment-338473361","issue_url":"https://api.github.com/repos/ly0/baidupcsapi/issues/65","id":338473361,"user":{"login":"ly0","id":1551736,"avatar_url":"https://avatars2.githubusercontent.com/u/1551736?v=4","gravatar_id":"","url":"https://api.github.com/users/ly0","html_url":"https://github.com/ly0","followers_url":"https://api.github.com/users/ly0/followers","following_url":"https://api.github.com/users/ly0/following{/other_user}","gists_url":"https://api.github.com/users/ly0/gists{/gist_id}","starred_url":"https://api.github.com/users/ly0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ly0/subscriptions","organizations_url":"https://api.github.com/users/ly0/orgs","repos_url":"https://api.github.com/users/ly0/repos","events_url":"https://api.github.com/users/ly0/events{/privacy}","received_events_url":"https://api.github.com/users/ly0/received_events","type":"User","site_admin":false},"created_at":"2017-10-22T12:24:20Z","updated_at":"2017-10-22T12:24:20Z","author_association":"OWNER","body":"感谢：)"}}
{"actor":{"display_login":"ly0"}}