{"action":"created","comment":{"url":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/comments/144387286","pull_request_review_id":69038137,"id":144387286,"diff_hunk":"@@ -29,10 +29,11 @@\n     <div class=\"container\">\n         <div class=\"row\">\n             <div class=\"col-md-12\">\n-                <form class=\"form-horizontal form-main\" method=\"GET\">\n-                      <input type=\"text\" class=\"form-control\" name=\"url\" placeholder=\"Enter the URL from where images are to be extracted\" required>\n-                      <br>\n-                      <button type=\"submit\" class=\"btn btn-lg btn-success\">Extract</button>\n+                <form id=\"form-extractor\" class=\"form-horizontal form-main\" method=\"GET\">\n+                    <input type=\"text\" class=\"form-control\" name=\"url\" placeholder=\"Enter the URL from where images are to be extracted\" required>\n+                    <br>\n+                    <button type=\"submit\" class=\"btn btn-lg btn-success\">Extract</button>\n+                    <div id=\"download-file\"></div>","path":"sample/index.php","position":12,"original_position":12,"commit_id":"098638fdc0b305a42496371ce7c45ecbb239fce9","original_commit_id":"098638fdc0b305a42496371ce7c45ecbb239fce9","user":{"login":"prabhakar267","id":10768588,"avatar_url":"https://avatars2.githubusercontent.com/u/10768588?v=4","gravatar_id":"","url":"https://api.github.com/users/prabhakar267","html_url":"https://github.com/prabhakar267","followers_url":"https://api.github.com/users/prabhakar267/followers","following_url":"https://api.github.com/users/prabhakar267/following{/other_user}","gists_url":"https://api.github.com/users/prabhakar267/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhakar267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhakar267/subscriptions","organizations_url":"https://api.github.com/users/prabhakar267/orgs","repos_url":"https://api.github.com/users/prabhakar267/repos","events_url":"https://api.github.com/users/prabhakar267/events{/privacy}","received_events_url":"https://api.github.com/users/prabhakar267/received_events","type":"User","site_admin":false},"body":"You could have the button HTML here only, which is initially hidden and after the results are loaded, button could be shown","created_at":"2017-10-12T19:28:09Z","updated_at":"2017-10-12T19:28:14Z","html_url":"https://github.com/prabhakar267/image-extractor/pull/12#discussion_r144387286","pull_request_url":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/12","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/comments/144387286"},"html":{"href":"https://github.com/prabhakar267/image-extractor/pull/12#discussion_r144387286"},"pull_request":{"href":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/12","id":146266215,"html_url":"https://github.com/prabhakar267/image-extractor/pull/12","diff_url":"https://github.com/prabhakar267/image-extractor/pull/12.diff","patch_url":"https://github.com/prabhakar267/image-extractor/pull/12.patch","issue_url":"https://api.github.com/repos/prabhakar267/image-extractor/issues/12","number":12,"state":"open","locked":false,"title":"Create download zip file button.","user":{"login":"sophiekovalevsky","id":1287883,"avatar_url":"https://avatars1.githubusercontent.com/u/1287883?v=4","gravatar_id":"","url":"https://api.github.com/users/sophiekovalevsky","html_url":"https://github.com/sophiekovalevsky","followers_url":"https://api.github.com/users/sophiekovalevsky/followers","following_url":"https://api.github.com/users/sophiekovalevsky/following{/other_user}","gists_url":"https://api.github.com/users/sophiekovalevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/sophiekovalevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophiekovalevsky/subscriptions","organizations_url":"https://api.github.com/users/sophiekovalevsky/orgs","repos_url":"https://api.github.com/users/sophiekovalevsky/repos","events_url":"https://api.github.com/users/sophiekovalevsky/events{/privacy}","received_events_url":"https://api.github.com/users/sophiekovalevsky/received_events","type":"User","site_admin":false},"body":"I have added the zip file button on the UI. So each time a user do click on extract, it will generate the zip button url. The url needs to be different since now you want the js approach.\r\nI changed the jquery link since it was not working as well. \r\n","created_at":"2017-10-12T17:16:35Z","updated_at":"2017-10-12T19:28:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2d735da1db7de3da8633be4df54695853a96149","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/12/commits","review_comments_url":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/12/comments","review_comment_url":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prabhakar267/image-extractor/issues/12/comments","statuses_url":"https://api.github.com/repos/prabhakar267/image-extractor/statuses/098638fdc0b305a42496371ce7c45ecbb239fce9","head":{"label":"sophiekovalevsky:kn-features","ref":"kn-features","sha":"098638fdc0b305a42496371ce7c45ecbb239fce9","user":{"login":"sophiekovalevsky","id":1287883,"avatar_url":"https://avatars1.githubusercontent.com/u/1287883?v=4","gravatar_id":"","url":"https://api.github.com/users/sophiekovalevsky","html_url":"https://github.com/sophiekovalevsky","followers_url":"https://api.github.com/users/sophiekovalevsky/followers","following_url":"https://api.github.com/users/sophiekovalevsky/following{/other_user}","gists_url":"https://api.github.com/users/sophiekovalevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/sophiekovalevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophiekovalevsky/subscriptions","organizations_url":"https://api.github.com/users/sophiekovalevsky/orgs","repos_url":"https://api.github.com/users/sophiekovalevsky/repos","events_url":"https://api.github.com/users/sophiekovalevsky/events{/privacy}","received_events_url":"https://api.github.com/users/sophiekovalevsky/received_events","type":"User","site_admin":false},"repo":{"id":106721754,"name":"image-extractor","full_name":"sophiekovalevsky/image-extractor","owner":{"login":"sophiekovalevsky","id":1287883,"avatar_url":"https://avatars1.githubusercontent.com/u/1287883?v=4","gravatar_id":"","url":"https://api.github.com/users/sophiekovalevsky","html_url":"https://github.com/sophiekovalevsky","followers_url":"https://api.github.com/users/sophiekovalevsky/followers","following_url":"https://api.github.com/users/sophiekovalevsky/following{/other_user}","gists_url":"https://api.github.com/users/sophiekovalevsky/gists{/gist_id}","starred_url":"https://api.github.com/users/sophiekovalevsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sophiekovalevsky/subscriptions","organizations_url":"https://api.github.com/users/sophiekovalevsky/orgs","repos_url":"https://api.github.com/users/sophiekovalevsky/repos","events_url":"https://api.github.com/users/sophiekovalevsky/events{/privacy}","received_events_url":"https://api.github.com/users/sophiekovalevsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sophiekovalevsky/image-extractor","description":"It is a web-app which extracts all the images on any web link. Just enter the name of the website and get all the images which are visible on that page","fork":true,"url":"https://api.github.com/repos/sophiekovalevsky/image-extractor","forks_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/forks","keys_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/teams","hooks_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/hooks","issue_events_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/issues/events{/number}","events_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/events","assignees_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/assignees{/user}","branches_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/branches{/branch}","tags_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/tags","blobs_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/git/refs{/sha}","trees_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/statuses/{sha}","languages_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/languages","stargazers_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/stargazers","contributors_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/contributors","subscribers_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/subscribers","subscription_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/subscription","commits_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/commits{/sha}","git_commits_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/git/commits{/sha}","comments_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/comments{/number}","issue_comment_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/issues/comments{/number}","contents_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/contents/{+path}","compare_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/merges","archive_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/downloads","issues_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/issues{/number}","pulls_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/pulls{/number}","milestones_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/milestones{/number}","notifications_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/labels{/name}","releases_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/releases{/id}","deployments_url":"https://api.github.com/repos/sophiekovalevsky/image-extractor/deployments","created_at":"2017-10-12T17:03:06Z","updated_at":"2017-10-12T17:03:08Z","pushed_at":"2017-10-12T17:13:59Z","git_url":"git://github.com/sophiekovalevsky/image-extractor.git","ssh_url":"git@github.com:sophiekovalevsky/image-extractor.git","clone_url":"https://github.com/sophiekovalevsky/image-extractor.git","svn_url":"https://github.com/sophiekovalevsky/image-extractor","homepage":"http://www.prabhakargupta.com/projects/image-extractor/","size":538,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"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":"prabhakar267:master","ref":"master","sha":"7148e0d84edc86d7703ffc9d37429aa3e6162a1a","user":{"login":"prabhakar267","id":10768588,"avatar_url":"https://avatars2.githubusercontent.com/u/10768588?v=4","gravatar_id":"","url":"https://api.github.com/users/prabhakar267","html_url":"https://github.com/prabhakar267","followers_url":"https://api.github.com/users/prabhakar267/followers","following_url":"https://api.github.com/users/prabhakar267/following{/other_user}","gists_url":"https://api.github.com/users/prabhakar267/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhakar267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhakar267/subscriptions","organizations_url":"https://api.github.com/users/prabhakar267/orgs","repos_url":"https://api.github.com/users/prabhakar267/repos","events_url":"https://api.github.com/users/prabhakar267/events{/privacy}","received_events_url":"https://api.github.com/users/prabhakar267/received_events","type":"User","site_admin":false},"repo":{"id":41555338,"name":"image-extractor","full_name":"prabhakar267/image-extractor","owner":{"login":"prabhakar267","id":10768588,"avatar_url":"https://avatars2.githubusercontent.com/u/10768588?v=4","gravatar_id":"","url":"https://api.github.com/users/prabhakar267","html_url":"https://github.com/prabhakar267","followers_url":"https://api.github.com/users/prabhakar267/followers","following_url":"https://api.github.com/users/prabhakar267/following{/other_user}","gists_url":"https://api.github.com/users/prabhakar267/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhakar267/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhakar267/subscriptions","organizations_url":"https://api.github.com/users/prabhakar267/orgs","repos_url":"https://api.github.com/users/prabhakar267/repos","events_url":"https://api.github.com/users/prabhakar267/events{/privacy}","received_events_url":"https://api.github.com/users/prabhakar267/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prabhakar267/image-extractor","description":"It is a web-app which extracts all the images on any web link. Just enter the name of the website and get all the images which are visible on that page","fork":false,"url":"https://api.github.com/repos/prabhakar267/image-extractor","forks_url":"https://api.github.com/repos/prabhakar267/image-extractor/forks","keys_url":"https://api.github.com/repos/prabhakar267/image-extractor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prabhakar267/image-extractor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prabhakar267/image-extractor/teams","hooks_url":"https://api.github.com/repos/prabhakar267/image-extractor/hooks","issue_events_url":"https://api.github.com/repos/prabhakar267/image-extractor/issues/events{/number}","events_url":"https://api.github.com/repos/prabhakar267/image-extractor/events","assignees_url":"https://api.github.com/repos/prabhakar267/image-extractor/assignees{/user}","branches_url":"https://api.github.com/repos/prabhakar267/image-extractor/branches{/branch}","tags_url":"https://api.github.com/repos/prabhakar267/image-extractor/tags","blobs_url":"https://api.github.com/repos/prabhakar267/image-extractor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prabhakar267/image-extractor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prabhakar267/image-extractor/git/refs{/sha}","trees_url":"https://api.github.com/repos/prabhakar267/image-extractor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prabhakar267/image-extractor/statuses/{sha}","languages_url":"https://api.github.com/repos/prabhakar267/image-extractor/languages","stargazers_url":"https://api.github.com/repos/prabhakar267/image-extractor/stargazers","contributors_url":"https://api.github.com/repos/prabhakar267/image-extractor/contributors","subscribers_url":"https://api.github.com/repos/prabhakar267/image-extractor/subscribers","subscription_url":"https://api.github.com/repos/prabhakar267/image-extractor/subscription","commits_url":"https://api.github.com/repos/prabhakar267/image-extractor/commits{/sha}","git_commits_url":"https://api.github.com/repos/prabhakar267/image-extractor/git/commits{/sha}","comments_url":"https://api.github.com/repos/prabhakar267/image-extractor/comments{/number}","issue_comment_url":"https://api.github.com/repos/prabhakar267/image-extractor/issues/comments{/number}","contents_url":"https://api.github.com/repos/prabhakar267/image-extractor/contents/{+path}","compare_url":"https://api.github.com/repos/prabhakar267/image-extractor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prabhakar267/image-extractor/merges","archive_url":"https://api.github.com/repos/prabhakar267/image-extractor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prabhakar267/image-extractor/downloads","issues_url":"https://api.github.com/repos/prabhakar267/image-extractor/issues{/number}","pulls_url":"https://api.github.com/repos/prabhakar267/image-extractor/pulls{/number}","milestones_url":"https://api.github.com/repos/prabhakar267/image-extractor/milestones{/number}","notifications_url":"https://api.github.com/repos/prabhakar267/image-extractor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prabhakar267/image-extractor/labels{/name}","releases_url":"https://api.github.com/repos/prabhakar267/image-extractor/releases{/id}","deployments_url":"https://api.github.com/repos/prabhakar267/image-extractor/deployments","created_at":"2015-08-28T15:39:56Z","updated_at":"2017-07-10T09:55:01Z","pushed_at":"2017-10-12T19:26:35Z","git_url":"git://github.com/prabhakar267/image-extractor.git","ssh_url":"git@github.com:prabhakar267/image-extractor.git","clone_url":"https://github.com/prabhakar267/image-extractor.git","svn_url":"https://github.com/prabhakar267/image-extractor","homepage":"http://www.prabhakargupta.com/projects/image-extractor/","size":4198,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/12"},"html":{"href":"https://github.com/prabhakar267/image-extractor/pull/12"},"issue":{"href":"https://api.github.com/repos/prabhakar267/image-extractor/issues/12"},"comments":{"href":"https://api.github.com/repos/prabhakar267/image-extractor/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prabhakar267/image-extractor/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/prabhakar267/image-extractor/statuses/098638fdc0b305a42496371ce7c45ecbb239fce9"}},"author_association":"NONE"}}
{"actor":{"display_login":"prabhakar267"}}