{"action":"created","issue":{"url":"https://api.github.com/repos/zhu327/rss/issues/1","labels_url":"https://api.github.com/repos/zhu327/rss/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/zhu327/rss/issues/1/comments","events_url":"https://api.github.com/repos/zhu327/rss/issues/1/events","html_url":"https://github.com/zhu327/rss/issues/1","id":63581022,"number":1,"title":"cookies problem","user":{"login":"windch","id":56549,"avatar_url":"https://avatars.githubusercontent.com/u/56549?v=3","gravatar_id":"","url":"https://api.github.com/users/windch","html_url":"https://github.com/windch","followers_url":"https://api.github.com/users/windch/followers","following_url":"https://api.github.com/users/windch/following{/other_user}","gists_url":"https://api.github.com/users/windch/gists{/gist_id}","starred_url":"https://api.github.com/users/windch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windch/subscriptions","organizations_url":"https://api.github.com/users/windch/orgs","repos_url":"https://api.github.com/users/windch/repos","events_url":"https://api.github.com/users/windch/events{/privacy}","received_events_url":"https://api.github.com/users/windch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-22T22:06:31Z","updated_at":"2015-03-23T02:03:01Z","closed_at":"2015-03-23T02:03:01Z","body":"After the rss starting up, there is no cookies until several hours later, which will produce the following errors: \r\n\r\n    File \"/var/lib/openshift/54fe6dc9e0b8cd2d250001cf/app-root/runtime/repo/diy/handlers/weixin.py\", line 33, in get\r\n      headers = random.choice(cookies)\r\n    File \"/var/lib/openshift/54fe6dc9e0b8cd2d250001cf/app-root/data/lib/python2.7/random.py\", line 273, in choice\r\n      return seq[int(self.random() * len(seq))]  # raises IndexError if seq is empty\r\nTypeError: object of type 'NoneType' has no len()\r\n\r\nIs there any way making the server functioning without waiting several hours?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/zhu327/rss/issues/comments/84748629","html_url":"https://github.com/zhu327/rss/issues/1#issuecomment-84748629","issue_url":"https://api.github.com/repos/zhu327/rss/issues/1","id":84748629,"user":{"login":"windch","id":56549,"avatar_url":"https://avatars.githubusercontent.com/u/56549?v=3","gravatar_id":"","url":"https://api.github.com/users/windch","html_url":"https://github.com/windch","followers_url":"https://api.github.com/users/windch/followers","following_url":"https://api.github.com/users/windch/following{/other_user}","gists_url":"https://api.github.com/users/windch/gists{/gist_id}","starred_url":"https://api.github.com/users/windch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/windch/subscriptions","organizations_url":"https://api.github.com/users/windch/orgs","repos_url":"https://api.github.com/users/windch/repos","events_url":"https://api.github.com/users/windch/events{/privacy}","received_events_url":"https://api.github.com/users/windch/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T02:03:01Z","updated_at":"2015-03-23T02:03:01Z","body":"试过加一行`get_cookies()`。好像没什么用。也可能因为我自己环境设置问题。\r\n多谢。"}}