{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/s0ph1e/node-website-scraper/pulls/12","id":40800904,"html_url":"https://github.com/s0ph1e/node-website-scraper/pull/12","diff_url":"https://github.com/s0ph1e/node-website-scraper/pull/12.diff","patch_url":"https://github.com/s0ph1e/node-website-scraper/pull/12.patch","issue_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/issues/12","number":12,"state":"closed","locked":false,"title":"Refactoring","user":{"login":"s0ph1e","id":2333969,"avatar_url":"https://avatars.githubusercontent.com/u/2333969?v=3","gravatar_id":"","url":"https://api.github.com/users/s0ph1e","html_url":"https://github.com/s0ph1e","followers_url":"https://api.github.com/users/s0ph1e/followers","following_url":"https://api.github.com/users/s0ph1e/following{/other_user}","gists_url":"https://api.github.com/users/s0ph1e/gists{/gist_id}","starred_url":"https://api.github.com/users/s0ph1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s0ph1e/subscriptions","organizations_url":"https://api.github.com/users/s0ph1e/orgs","repos_url":"https://api.github.com/users/s0ph1e/repos","events_url":"https://api.github.com/users/s0ph1e/events{/privacy}","received_events_url":"https://api.github.com/users/s0ph1e/received_events","type":"User","site_admin":false},"body":"* separate scraper logic and css-, html- handlers\r\n* add Resource class to avoid manipulating objects like { url: '', filename: ''} in scraper\r\n* improve url comparison\r\n* cover all with unit tests\r\n* add functional test\r\n","created_at":"2015-07-24T18:12:30Z","updated_at":"2015-07-24T18:13:40Z","closed_at":"2015-07-24T18:13:40Z","merged_at":"2015-07-24T18:13:40Z","merge_commit_sha":"032f02e0415e7a67dd9554f971a1ddbda545ec0f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/pulls/12/commits","review_comments_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/pulls/12/comments","review_comment_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/issues/12/comments","statuses_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/statuses/0c9eee6f4032881033ec9f03878e2c977c144ba7","head":{"label":"s0ph1e:refactoring","ref":"refactoring","sha":"0c9eee6f4032881033ec9f03878e2c977c144ba7","user":{"login":"s0ph1e","id":2333969,"avatar_url":"https://avatars.githubusercontent.com/u/2333969?v=3","gravatar_id":"","url":"https://api.github.com/users/s0ph1e","html_url":"https://github.com/s0ph1e","followers_url":"https://api.github.com/users/s0ph1e/followers","following_url":"https://api.github.com/users/s0ph1e/following{/other_user}","gists_url":"https://api.github.com/users/s0ph1e/gists{/gist_id}","starred_url":"https://api.github.com/users/s0ph1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s0ph1e/subscriptions","organizations_url":"https://api.github.com/users/s0ph1e/orgs","repos_url":"https://api.github.com/users/s0ph1e/repos","events_url":"https://api.github.com/users/s0ph1e/events{/privacy}","received_events_url":"https://api.github.com/users/s0ph1e/received_events","type":"User","site_admin":false},"repo":{"id":23670920,"name":"node-website-scraper","full_name":"s0ph1e/node-website-scraper","owner":{"login":"s0ph1e","id":2333969,"avatar_url":"https://avatars.githubusercontent.com/u/2333969?v=3","gravatar_id":"","url":"https://api.github.com/users/s0ph1e","html_url":"https://github.com/s0ph1e","followers_url":"https://api.github.com/users/s0ph1e/followers","following_url":"https://api.github.com/users/s0ph1e/following{/other_user}","gists_url":"https://api.github.com/users/s0ph1e/gists{/gist_id}","starred_url":"https://api.github.com/users/s0ph1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s0ph1e/subscriptions","organizations_url":"https://api.github.com/users/s0ph1e/orgs","repos_url":"https://api.github.com/users/s0ph1e/repos","events_url":"https://api.github.com/users/s0ph1e/events{/privacy}","received_events_url":"https://api.github.com/users/s0ph1e/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s0ph1e/node-website-scraper","description":"Download website to a local directory (including all css, images, js, etc.)","fork":false,"url":"https://api.github.com/repos/s0ph1e/node-website-scraper","forks_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/forks","keys_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/teams","hooks_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/hooks","issue_events_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/issues/events{/number}","events_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/events","assignees_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/assignees{/user}","branches_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/branches{/branch}","tags_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/tags","blobs_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/git/refs{/sha}","trees_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/statuses/{sha}","languages_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/languages","stargazers_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/stargazers","contributors_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/contributors","subscribers_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/subscribers","subscription_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/subscription","commits_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/commits{/sha}","git_commits_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/git/commits{/sha}","comments_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/comments{/number}","issue_comment_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/issues/comments{/number}","contents_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/contents/{+path}","compare_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/merges","archive_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/downloads","issues_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/issues{/number}","pulls_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/pulls{/number}","milestones_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/milestones{/number}","notifications_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/labels{/name}","releases_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/releases{/id}","created_at":"2014-09-04T16:48:20Z","updated_at":"2015-07-17T11:08:00Z","pushed_at":"2015-07-24T18:13:40Z","git_url":"git://github.com/s0ph1e/node-website-scraper.git","ssh_url":"git@github.com:s0ph1e/node-website-scraper.git","clone_url":"https://github.com/s0ph1e/node-website-scraper.git","svn_url":"https://github.com/s0ph1e/node-website-scraper","homepage":"https://www.npmjs.org/package/website-scraper","size":490,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":13,"default_branch":"master"}},"base":{"label":"s0ph1e:master","ref":"master","sha":"a8b5d7a6a417e893b4449633ac8922b3ceb1e7e5","user":{"login":"s0ph1e","id":2333969,"avatar_url":"https://avatars.githubusercontent.com/u/2333969?v=3","gravatar_id":"","url":"https://api.github.com/users/s0ph1e","html_url":"https://github.com/s0ph1e","followers_url":"https://api.github.com/users/s0ph1e/followers","following_url":"https://api.github.com/users/s0ph1e/following{/other_user}","gists_url":"https://api.github.com/users/s0ph1e/gists{/gist_id}","starred_url":"https://api.github.com/users/s0ph1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s0ph1e/subscriptions","organizations_url":"https://api.github.com/users/s0ph1e/orgs","repos_url":"https://api.github.com/users/s0ph1e/repos","events_url":"https://api.github.com/users/s0ph1e/events{/privacy}","received_events_url":"https://api.github.com/users/s0ph1e/received_events","type":"User","site_admin":false},"repo":{"id":23670920,"name":"node-website-scraper","full_name":"s0ph1e/node-website-scraper","owner":{"login":"s0ph1e","id":2333969,"avatar_url":"https://avatars.githubusercontent.com/u/2333969?v=3","gravatar_id":"","url":"https://api.github.com/users/s0ph1e","html_url":"https://github.com/s0ph1e","followers_url":"https://api.github.com/users/s0ph1e/followers","following_url":"https://api.github.com/users/s0ph1e/following{/other_user}","gists_url":"https://api.github.com/users/s0ph1e/gists{/gist_id}","starred_url":"https://api.github.com/users/s0ph1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s0ph1e/subscriptions","organizations_url":"https://api.github.com/users/s0ph1e/orgs","repos_url":"https://api.github.com/users/s0ph1e/repos","events_url":"https://api.github.com/users/s0ph1e/events{/privacy}","received_events_url":"https://api.github.com/users/s0ph1e/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s0ph1e/node-website-scraper","description":"Download website to a local directory (including all css, images, js, etc.)","fork":false,"url":"https://api.github.com/repos/s0ph1e/node-website-scraper","forks_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/forks","keys_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/teams","hooks_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/hooks","issue_events_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/issues/events{/number}","events_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/events","assignees_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/assignees{/user}","branches_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/branches{/branch}","tags_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/tags","blobs_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/git/refs{/sha}","trees_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/statuses/{sha}","languages_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/languages","stargazers_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/stargazers","contributors_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/contributors","subscribers_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/subscribers","subscription_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/subscription","commits_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/commits{/sha}","git_commits_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/git/commits{/sha}","comments_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/comments{/number}","issue_comment_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/issues/comments{/number}","contents_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/contents/{+path}","compare_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/merges","archive_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/downloads","issues_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/issues{/number}","pulls_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/pulls{/number}","milestones_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/milestones{/number}","notifications_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/labels{/name}","releases_url":"https://api.github.com/repos/s0ph1e/node-website-scraper/releases{/id}","created_at":"2014-09-04T16:48:20Z","updated_at":"2015-07-17T11:08:00Z","pushed_at":"2015-07-24T18:13:40Z","git_url":"git://github.com/s0ph1e/node-website-scraper.git","ssh_url":"git@github.com:s0ph1e/node-website-scraper.git","clone_url":"https://github.com/s0ph1e/node-website-scraper.git","svn_url":"https://github.com/s0ph1e/node-website-scraper","homepage":"https://www.npmjs.org/package/website-scraper","size":490,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/s0ph1e/node-website-scraper/pulls/12"},"html":{"href":"https://github.com/s0ph1e/node-website-scraper/pull/12"},"issue":{"href":"https://api.github.com/repos/s0ph1e/node-website-scraper/issues/12"},"comments":{"href":"https://api.github.com/repos/s0ph1e/node-website-scraper/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/s0ph1e/node-website-scraper/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/s0ph1e/node-website-scraper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/s0ph1e/node-website-scraper/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/s0ph1e/node-website-scraper/statuses/0c9eee6f4032881033ec9f03878e2c977c144ba7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"s0ph1e","id":2333969,"avatar_url":"https://avatars.githubusercontent.com/u/2333969?v=3","gravatar_id":"","url":"https://api.github.com/users/s0ph1e","html_url":"https://github.com/s0ph1e","followers_url":"https://api.github.com/users/s0ph1e/followers","following_url":"https://api.github.com/users/s0ph1e/following{/other_user}","gists_url":"https://api.github.com/users/s0ph1e/gists{/gist_id}","starred_url":"https://api.github.com/users/s0ph1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s0ph1e/subscriptions","organizations_url":"https://api.github.com/users/s0ph1e/orgs","repos_url":"https://api.github.com/users/s0ph1e/repos","events_url":"https://api.github.com/users/s0ph1e/events{/privacy}","received_events_url":"https://api.github.com/users/s0ph1e/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":12,"additions":1627,"deletions":575,"changed_files":28}}