{"action":"closed","number":93,"pull_request":{"url":"https://api.github.com/repos/dbashford/textract/pulls/93","id":80611929,"html_url":"https://github.com/dbashford/textract/pull/93","diff_url":"https://github.com/dbashford/textract/pull/93.diff","patch_url":"https://github.com/dbashford/textract/pull/93.patch","issue_url":"https://api.github.com/repos/dbashford/textract/issues/93","number":93,"state":"closed","locked":false,"title":"add got library error handling","user":{"login":"kazet15","id":4218904,"avatar_url":"https://avatars.githubusercontent.com/u/4218904?v=3","gravatar_id":"","url":"https://api.github.com/users/kazet15","html_url":"https://github.com/kazet15","followers_url":"https://api.github.com/users/kazet15/followers","following_url":"https://api.github.com/users/kazet15/following{/other_user}","gists_url":"https://api.github.com/users/kazet15/gists{/gist_id}","starred_url":"https://api.github.com/users/kazet15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazet15/subscriptions","organizations_url":"https://api.github.com/users/kazet15/orgs","repos_url":"https://api.github.com/users/kazet15/repos","events_url":"https://api.github.com/users/kazet15/events{/privacy}","received_events_url":"https://api.github.com/users/kazet15/received_events","type":"User","site_admin":false},"body":"Currently it is impossible to catch errors from **got** library when using **textract.fromUrl** method.\nE.g. when the url is broken or the server is unavailable. PR passes those errors to the provided callback.\n","created_at":"2016-08-09T12:33:46Z","updated_at":"2016-11-01T17:33:52Z","closed_at":"2016-11-01T17:33:52Z","merged_at":"2016-11-01T17:33:52Z","merge_commit_sha":"ac6ab9a26a330114d44b282396e86ec21701e4b6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dbashford/textract/pulls/93/commits","review_comments_url":"https://api.github.com/repos/dbashford/textract/pulls/93/comments","review_comment_url":"https://api.github.com/repos/dbashford/textract/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dbashford/textract/issues/93/comments","statuses_url":"https://api.github.com/repos/dbashford/textract/statuses/3d1eb19862fca7f49d70cdd986ea10adce09f093","head":{"label":"kazet15:got-error-handling","ref":"got-error-handling","sha":"3d1eb19862fca7f49d70cdd986ea10adce09f093","user":{"login":"kazet15","id":4218904,"avatar_url":"https://avatars.githubusercontent.com/u/4218904?v=3","gravatar_id":"","url":"https://api.github.com/users/kazet15","html_url":"https://github.com/kazet15","followers_url":"https://api.github.com/users/kazet15/followers","following_url":"https://api.github.com/users/kazet15/following{/other_user}","gists_url":"https://api.github.com/users/kazet15/gists{/gist_id}","starred_url":"https://api.github.com/users/kazet15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazet15/subscriptions","organizations_url":"https://api.github.com/users/kazet15/orgs","repos_url":"https://api.github.com/users/kazet15/repos","events_url":"https://api.github.com/users/kazet15/events{/privacy}","received_events_url":"https://api.github.com/users/kazet15/received_events","type":"User","site_admin":false},"repo":{"id":65292109,"name":"textract","full_name":"kazet15/textract","owner":{"login":"kazet15","id":4218904,"avatar_url":"https://avatars.githubusercontent.com/u/4218904?v=3","gravatar_id":"","url":"https://api.github.com/users/kazet15","html_url":"https://github.com/kazet15","followers_url":"https://api.github.com/users/kazet15/followers","following_url":"https://api.github.com/users/kazet15/following{/other_user}","gists_url":"https://api.github.com/users/kazet15/gists{/gist_id}","starred_url":"https://api.github.com/users/kazet15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazet15/subscriptions","organizations_url":"https://api.github.com/users/kazet15/orgs","repos_url":"https://api.github.com/users/kazet15/repos","events_url":"https://api.github.com/users/kazet15/events{/privacy}","received_events_url":"https://api.github.com/users/kazet15/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kazet15/textract","description":"node.js module for extracting text from html, pdf, doc, docx, xls, xlsx, csv, pptx, png, jpg, gif, rtf and more!","fork":true,"url":"https://api.github.com/repos/kazet15/textract","forks_url":"https://api.github.com/repos/kazet15/textract/forks","keys_url":"https://api.github.com/repos/kazet15/textract/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kazet15/textract/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kazet15/textract/teams","hooks_url":"https://api.github.com/repos/kazet15/textract/hooks","issue_events_url":"https://api.github.com/repos/kazet15/textract/issues/events{/number}","events_url":"https://api.github.com/repos/kazet15/textract/events","assignees_url":"https://api.github.com/repos/kazet15/textract/assignees{/user}","branches_url":"https://api.github.com/repos/kazet15/textract/branches{/branch}","tags_url":"https://api.github.com/repos/kazet15/textract/tags","blobs_url":"https://api.github.com/repos/kazet15/textract/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kazet15/textract/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kazet15/textract/git/refs{/sha}","trees_url":"https://api.github.com/repos/kazet15/textract/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kazet15/textract/statuses/{sha}","languages_url":"https://api.github.com/repos/kazet15/textract/languages","stargazers_url":"https://api.github.com/repos/kazet15/textract/stargazers","contributors_url":"https://api.github.com/repos/kazet15/textract/contributors","subscribers_url":"https://api.github.com/repos/kazet15/textract/subscribers","subscription_url":"https://api.github.com/repos/kazet15/textract/subscription","commits_url":"https://api.github.com/repos/kazet15/textract/commits{/sha}","git_commits_url":"https://api.github.com/repos/kazet15/textract/git/commits{/sha}","comments_url":"https://api.github.com/repos/kazet15/textract/comments{/number}","issue_comment_url":"https://api.github.com/repos/kazet15/textract/issues/comments{/number}","contents_url":"https://api.github.com/repos/kazet15/textract/contents/{+path}","compare_url":"https://api.github.com/repos/kazet15/textract/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kazet15/textract/merges","archive_url":"https://api.github.com/repos/kazet15/textract/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kazet15/textract/downloads","issues_url":"https://api.github.com/repos/kazet15/textract/issues{/number}","pulls_url":"https://api.github.com/repos/kazet15/textract/pulls{/number}","milestones_url":"https://api.github.com/repos/kazet15/textract/milestones{/number}","notifications_url":"https://api.github.com/repos/kazet15/textract/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kazet15/textract/labels{/name}","releases_url":"https://api.github.com/repos/kazet15/textract/releases{/id}","deployments_url":"https://api.github.com/repos/kazet15/textract/deployments","created_at":"2016-08-09T12:11:11Z","updated_at":"2016-08-09T12:11:12Z","pushed_at":"2016-08-09T12:25:09Z","git_url":"git://github.com/kazet15/textract.git","ssh_url":"git@github.com:kazet15/textract.git","clone_url":"https://github.com/kazet15/textract.git","svn_url":"https://github.com/kazet15/textract","homepage":"","size":4190,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dbashford:master","ref":"master","sha":"078b3654b2f4e4f11a179714bd827a556fc1f64f","user":{"login":"dbashford","id":581127,"avatar_url":"https://avatars.githubusercontent.com/u/581127?v=3","gravatar_id":"","url":"https://api.github.com/users/dbashford","html_url":"https://github.com/dbashford","followers_url":"https://api.github.com/users/dbashford/followers","following_url":"https://api.github.com/users/dbashford/following{/other_user}","gists_url":"https://api.github.com/users/dbashford/gists{/gist_id}","starred_url":"https://api.github.com/users/dbashford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbashford/subscriptions","organizations_url":"https://api.github.com/users/dbashford/orgs","repos_url":"https://api.github.com/users/dbashford/repos","events_url":"https://api.github.com/users/dbashford/events{/privacy}","received_events_url":"https://api.github.com/users/dbashford/received_events","type":"User","site_admin":false},"repo":{"id":9626416,"name":"textract","full_name":"dbashford/textract","owner":{"login":"dbashford","id":581127,"avatar_url":"https://avatars.githubusercontent.com/u/581127?v=3","gravatar_id":"","url":"https://api.github.com/users/dbashford","html_url":"https://github.com/dbashford","followers_url":"https://api.github.com/users/dbashford/followers","following_url":"https://api.github.com/users/dbashford/following{/other_user}","gists_url":"https://api.github.com/users/dbashford/gists{/gist_id}","starred_url":"https://api.github.com/users/dbashford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbashford/subscriptions","organizations_url":"https://api.github.com/users/dbashford/orgs","repos_url":"https://api.github.com/users/dbashford/repos","events_url":"https://api.github.com/users/dbashford/events{/privacy}","received_events_url":"https://api.github.com/users/dbashford/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dbashford/textract","description":"node.js module for extracting text from html, pdf, doc, docx, xls, xlsx, csv, pptx, png, jpg, gif, rtf and more!","fork":false,"url":"https://api.github.com/repos/dbashford/textract","forks_url":"https://api.github.com/repos/dbashford/textract/forks","keys_url":"https://api.github.com/repos/dbashford/textract/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dbashford/textract/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dbashford/textract/teams","hooks_url":"https://api.github.com/repos/dbashford/textract/hooks","issue_events_url":"https://api.github.com/repos/dbashford/textract/issues/events{/number}","events_url":"https://api.github.com/repos/dbashford/textract/events","assignees_url":"https://api.github.com/repos/dbashford/textract/assignees{/user}","branches_url":"https://api.github.com/repos/dbashford/textract/branches{/branch}","tags_url":"https://api.github.com/repos/dbashford/textract/tags","blobs_url":"https://api.github.com/repos/dbashford/textract/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dbashford/textract/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dbashford/textract/git/refs{/sha}","trees_url":"https://api.github.com/repos/dbashford/textract/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dbashford/textract/statuses/{sha}","languages_url":"https://api.github.com/repos/dbashford/textract/languages","stargazers_url":"https://api.github.com/repos/dbashford/textract/stargazers","contributors_url":"https://api.github.com/repos/dbashford/textract/contributors","subscribers_url":"https://api.github.com/repos/dbashford/textract/subscribers","subscription_url":"https://api.github.com/repos/dbashford/textract/subscription","commits_url":"https://api.github.com/repos/dbashford/textract/commits{/sha}","git_commits_url":"https://api.github.com/repos/dbashford/textract/git/commits{/sha}","comments_url":"https://api.github.com/repos/dbashford/textract/comments{/number}","issue_comment_url":"https://api.github.com/repos/dbashford/textract/issues/comments{/number}","contents_url":"https://api.github.com/repos/dbashford/textract/contents/{+path}","compare_url":"https://api.github.com/repos/dbashford/textract/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dbashford/textract/merges","archive_url":"https://api.github.com/repos/dbashford/textract/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dbashford/textract/downloads","issues_url":"https://api.github.com/repos/dbashford/textract/issues{/number}","pulls_url":"https://api.github.com/repos/dbashford/textract/pulls{/number}","milestones_url":"https://api.github.com/repos/dbashford/textract/milestones{/number}","notifications_url":"https://api.github.com/repos/dbashford/textract/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dbashford/textract/labels{/name}","releases_url":"https://api.github.com/repos/dbashford/textract/releases{/id}","deployments_url":"https://api.github.com/repos/dbashford/textract/deployments","created_at":"2013-04-23T15:26:43Z","updated_at":"2016-11-01T14:33:03Z","pushed_at":"2016-11-01T17:33:52Z","git_url":"git://github.com/dbashford/textract.git","ssh_url":"git@github.com:dbashford/textract.git","clone_url":"https://github.com/dbashford/textract.git","svn_url":"https://github.com/dbashford/textract","homepage":"","size":4222,"stargazers_count":634,"watchers_count":634,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":18,"forks":36,"open_issues":18,"watchers":634,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dbashford/textract/pulls/93"},"html":{"href":"https://github.com/dbashford/textract/pull/93"},"issue":{"href":"https://api.github.com/repos/dbashford/textract/issues/93"},"comments":{"href":"https://api.github.com/repos/dbashford/textract/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/dbashford/textract/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/dbashford/textract/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dbashford/textract/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/dbashford/textract/statuses/3d1eb19862fca7f49d70cdd986ea10adce09f093"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dbashford","id":581127,"avatar_url":"https://avatars.githubusercontent.com/u/581127?v=3","gravatar_id":"","url":"https://api.github.com/users/dbashford","html_url":"https://github.com/dbashford","followers_url":"https://api.github.com/users/dbashford/followers","following_url":"https://api.github.com/users/dbashford/following{/other_user}","gists_url":"https://api.github.com/users/dbashford/gists{/gist_id}","starred_url":"https://api.github.com/users/dbashford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbashford/subscriptions","organizations_url":"https://api.github.com/users/dbashford/orgs","repos_url":"https://api.github.com/users/dbashford/repos","events_url":"https://api.github.com/users/dbashford/events{/privacy}","received_events_url":"https://api.github.com/users/dbashford/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"dbashford"}}