{"action":"closed","issue":{"url":"https://api.github.com/repos/CocoaPods/cocoapods-downloader/issues/50","labels_url":"https://api.github.com/repos/CocoaPods/cocoapods-downloader/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/CocoaPods/cocoapods-downloader/issues/50/comments","events_url":"https://api.github.com/repos/CocoaPods/cocoapods-downloader/issues/50/events","html_url":"https://github.com/CocoaPods/cocoapods-downloader/issues/50","id":112741362,"number":50,"title":"How can i judge whether download is failed or successed","user":{"login":"self-creative","id":8016647,"avatar_url":"https://avatars.githubusercontent.com/u/8016647?v=3","gravatar_id":"","url":"https://api.github.com/users/self-creative","html_url":"https://github.com/self-creative","followers_url":"https://api.github.com/users/self-creative/followers","following_url":"https://api.github.com/users/self-creative/following{/other_user}","gists_url":"https://api.github.com/users/self-creative/gists{/gist_id}","starred_url":"https://api.github.com/users/self-creative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/self-creative/subscriptions","organizations_url":"https://api.github.com/users/self-creative/orgs","repos_url":"https://api.github.com/users/self-creative/repos","events_url":"https://api.github.com/users/self-creative/events{/privacy}","received_events_url":"https://api.github.com/users/self-creative/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CocoaPods/cocoapods-downloader/labels/s1:awaiting%20input","name":"s1:awaiting input","color":"EDCE24"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-22T06:45:13Z","updated_at":"2015-10-30T12:53:25Z","closed_at":"2015-10-30T12:53:25Z","body":"HI:\r\n   Now I write a ruby script for auto download source code, and i want to konw whether download is failed or successed,and how can I judge it"}}