{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/itzg/dockerfiles/pulls/15","id":30258567,"html_url":"https://github.com/itzg/dockerfiles/pull/15","diff_url":"https://github.com/itzg/dockerfiles/pull/15.diff","patch_url":"https://github.com/itzg/dockerfiles/pull/15.patch","issue_url":"https://api.github.com/repos/itzg/dockerfiles/issues/15","number":15,"state":"open","locked":false,"title":"Add initial version of forge download scraper","user":{"login":"DanTheColoradan","id":3826143,"avatar_url":"https://avatars.githubusercontent.com/u/3826143?v=3","gravatar_id":"","url":"https://api.github.com/users/DanTheColoradan","html_url":"https://github.com/DanTheColoradan","followers_url":"https://api.github.com/users/DanTheColoradan/followers","following_url":"https://api.github.com/users/DanTheColoradan/following{/other_user}","gists_url":"https://api.github.com/users/DanTheColoradan/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTheColoradan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTheColoradan/subscriptions","organizations_url":"https://api.github.com/users/DanTheColoradan/orgs","repos_url":"https://api.github.com/users/DanTheColoradan/repos","events_url":"https://api.github.com/users/DanTheColoradan/events{/privacy}","received_events_url":"https://api.github.com/users/DanTheColoradan/received_events","type":"User","site_admin":false},"body":"As per issue #14, here is the Minecraft Forge scraper.\r\n\r\nProblem: We would like to get recommended and latests downloads for the Minecraft Forge installer\r\nSolution: Use Scrapy (python module) to obtain the links and write them to a json file\r\n\r\n### Dependencies:\r\n\r\n- python\r\n- scrapy\r\n\r\n### How to run:\r\n\r\n```{.sh}\r\npip install scrapy\r\nscrapy runspider minecraftforge_spider.py -o latest.json\r\n```\r\n\r\n### Sample output:\r\n\r\n```{.json}\r\n[{\r\n\t\"latest\": {\r\n\t\t\"forge_recommended\": [\"10.13.2.1291\"], \r\n\t\t\"forge_latest\": [\"11.14.1.1333\"]\r\n\t}, \r\n\t\"versions\": [{\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.5.2-7.8.1.738/forge-1.5.2-7.8.1.738-installer.jar\"], \"minecraft\": [\"1.5.2\"], \"type\": \"forge_latest\", \"id\": [\"7.8.1.738\"], \"time\": [\"06/17/2013 10:36:00 AM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.5.2-7.8.1.737/forge-1.5.2-7.8.1.737-installer.jar\"], \"minecraft\": [\"1.5.2\"], \"type\": \"forge_recommended\", \"id\": [\"7.8.1.737\"], \"time\": [\"06/15/2013 02:27:00 AM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.6.1-8.9.0.775/forge-1.6.1-8.9.0.775-installer.jar\"], \"minecraft\": [\"1.6.1\"], \"type\": \"forge_latest\", \"id\": [\"8.9.0.775\"], \"time\": [\"07/07/2013 12:07:00 AM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.6.2-9.10.1.871/forge-1.6.2-9.10.1.871-installer.jar\"], \"minecraft\": [\"1.6.2\"], \"type\": \"forge_latest\", \"id\": [\"9.10.1.871\"], \"time\": [\"09/15/2013 10:04:00 PM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.6.2-9.10.1.871/forge-1.6.2-9.10.1.871-installer.jar\"], \"minecraft\": [\"1.6.2\"], \"type\": \"forge_recommended\", \"id\": [\"9.10.1.871\"], \"time\": [\"09/15/2013 10:04:00 PM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.6.3-9.11.0.878/forge-1.6.3-9.11.0.878-installer.jar\"], \"minecraft\": [\"1.6.3\"], \"type\": \"forge_latest\", \"id\": [\"9.11.0.878\"], \"time\": [\"09/19/2013 06:52:00 PM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.6.4-9.11.1.965/forge-1.6.4-9.11.1.965-installer.jar\"], \"minecraft\": [\"1.6.4\"], \"type\": \"forge_latest\", \"id\": [\"9.11.1.965\"], \"time\": [\"11/21/2013 02:31:00 PM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.6.4-9.11.1.965/forge-1.6.4-9.11.1.965-installer.jar\"], \"minecraft\": [\"1.6.4\"], \"type\": \"forge_recommended\", \"id\": [\"9.11.1.965\"], \"time\": [\"11/21/2013 02:31:00 PM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-10.13.2.1291/forge-1.7.10-10.13.2.1291-installer.jar\"], \"minecraft\": [\"1.7.10\"], \"type\": \"forge_latest\", \"id\": [\"10.13.2.1291\"], \"time\": [\"01/23/2015 12:15:08 AM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.10-10.13.2.1291/forge-1.7.10-10.13.2.1291-installer.jar\"], \"minecraft\": [\"1.7.10\"], \"type\": \"forge_recommended\", \"id\": [\"10.13.2.1291\"], \"time\": [\"01/23/2015 12:15:08 AM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.2-10.12.2.1147/forge-1.7.2-10.12.2.1147-installer.jar\"], \"minecraft\": [\"1.7.2\"], \"type\": \"forge_latest\", \"id\": [\"10.12.2.1147\"], \"time\": [\"06/25/2014 08:51:05 PM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.7.2-10.12.2.1121/forge-1.7.2-10.12.2.1121-installer.jar\"], \"minecraft\": [\"1.7.2\"], \"type\": \"forge_recommended\", \"id\": [\"10.12.2.1121\"], \"time\": [\"06/12/2014 06:20:14 PM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.1.1333/forge-1.8-11.14.1.1333-installer.jar\"], \"minecraft\": [\"1.8\"], \"type\": \"forge_latest\", \"id\": [\"11.14.1.1333\"], \"time\": [\"03/01/2015 01:58:35 AM\"]}, {\r\n\t\t\"url\": [\"http://files.minecraftforge.net/maven/net/minecraftforge/forge/1.8-11.14.0.1299/forge-1.8-11.14.0.1299-installer.jar\"], \"minecraft\": [\"1.8\"], \"type\": \"forge_recommended\", \"id\": [\"11.14.0.1299\"], \"time\": [\"02/03/2015 02:46:50 AM\"]\r\n\t\t}]\r\n}]\r\n```\r\n\r\nI, Daniel L. Polanco, release this code under the [Apache Version 2.0 License](http://www.apache.org/licenses/LICENSE-2.0).\r\n\r\nLet me know if you need anything else :)","created_at":"2015-03-02T04:51:04Z","updated_at":"2015-03-02T04:51:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/itzg/dockerfiles/pulls/15/commits","review_comments_url":"https://api.github.com/repos/itzg/dockerfiles/pulls/15/comments","review_comment_url":"https://api.github.com/repos/itzg/dockerfiles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/itzg/dockerfiles/issues/15/comments","statuses_url":"https://api.github.com/repos/itzg/dockerfiles/statuses/14a1e5fb2afe9c372646ce26a9b2b92c517067b3","head":{"label":"DanTheColoradan:forge","ref":"forge","sha":"14a1e5fb2afe9c372646ce26a9b2b92c517067b3","user":{"login":"DanTheColoradan","id":3826143,"avatar_url":"https://avatars.githubusercontent.com/u/3826143?v=3","gravatar_id":"","url":"https://api.github.com/users/DanTheColoradan","html_url":"https://github.com/DanTheColoradan","followers_url":"https://api.github.com/users/DanTheColoradan/followers","following_url":"https://api.github.com/users/DanTheColoradan/following{/other_user}","gists_url":"https://api.github.com/users/DanTheColoradan/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTheColoradan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTheColoradan/subscriptions","organizations_url":"https://api.github.com/users/DanTheColoradan/orgs","repos_url":"https://api.github.com/users/DanTheColoradan/repos","events_url":"https://api.github.com/users/DanTheColoradan/events{/privacy}","received_events_url":"https://api.github.com/users/DanTheColoradan/received_events","type":"User","site_admin":false},"repo":{"id":31523600,"name":"dockerfiles","full_name":"DanTheColoradan/dockerfiles","owner":{"login":"DanTheColoradan","id":3826143,"avatar_url":"https://avatars.githubusercontent.com/u/3826143?v=3","gravatar_id":"","url":"https://api.github.com/users/DanTheColoradan","html_url":"https://github.com/DanTheColoradan","followers_url":"https://api.github.com/users/DanTheColoradan/followers","following_url":"https://api.github.com/users/DanTheColoradan/following{/other_user}","gists_url":"https://api.github.com/users/DanTheColoradan/gists{/gist_id}","starred_url":"https://api.github.com/users/DanTheColoradan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanTheColoradan/subscriptions","organizations_url":"https://api.github.com/users/DanTheColoradan/orgs","repos_url":"https://api.github.com/users/DanTheColoradan/repos","events_url":"https://api.github.com/users/DanTheColoradan/events{/privacy}","received_events_url":"https://api.github.com/users/DanTheColoradan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DanTheColoradan/dockerfiles","description":"Contains the various Dockerfile definitions I'm maintaining.","fork":true,"url":"https://api.github.com/repos/DanTheColoradan/dockerfiles","forks_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/forks","keys_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/teams","hooks_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/hooks","issue_events_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/issues/events{/number}","events_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/events","assignees_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/assignees{/user}","branches_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/branches{/branch}","tags_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/tags","blobs_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/statuses/{sha}","languages_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/languages","stargazers_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/stargazers","contributors_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/contributors","subscribers_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/subscribers","subscription_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/subscription","commits_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/contents/{+path}","compare_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/merges","archive_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/downloads","issues_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/issues{/number}","pulls_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/pulls{/number}","milestones_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/milestones{/number}","notifications_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/labels{/name}","releases_url":"https://api.github.com/repos/DanTheColoradan/dockerfiles/releases{/id}","created_at":"2015-03-02T04:37:46Z","updated_at":"2015-03-02T04:37:46Z","pushed_at":"2015-03-02T04:39:49Z","git_url":"git://github.com/DanTheColoradan/dockerfiles.git","ssh_url":"git@github.com:DanTheColoradan/dockerfiles.git","clone_url":"https://github.com/DanTheColoradan/dockerfiles.git","svn_url":"https://github.com/DanTheColoradan/dockerfiles","homepage":null,"size":507,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"itzg:forge","ref":"forge","sha":"2e8704a31193309d3cf3f93b3ec50857e2946c49","user":{"login":"itzg","id":988985,"avatar_url":"https://avatars.githubusercontent.com/u/988985?v=3","gravatar_id":"","url":"https://api.github.com/users/itzg","html_url":"https://github.com/itzg","followers_url":"https://api.github.com/users/itzg/followers","following_url":"https://api.github.com/users/itzg/following{/other_user}","gists_url":"https://api.github.com/users/itzg/gists{/gist_id}","starred_url":"https://api.github.com/users/itzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itzg/subscriptions","organizations_url":"https://api.github.com/users/itzg/orgs","repos_url":"https://api.github.com/users/itzg/repos","events_url":"https://api.github.com/users/itzg/events{/privacy}","received_events_url":"https://api.github.com/users/itzg/received_events","type":"User","site_admin":false},"repo":{"id":19897878,"name":"dockerfiles","full_name":"itzg/dockerfiles","owner":{"login":"itzg","id":988985,"avatar_url":"https://avatars.githubusercontent.com/u/988985?v=3","gravatar_id":"","url":"https://api.github.com/users/itzg","html_url":"https://github.com/itzg","followers_url":"https://api.github.com/users/itzg/followers","following_url":"https://api.github.com/users/itzg/following{/other_user}","gists_url":"https://api.github.com/users/itzg/gists{/gist_id}","starred_url":"https://api.github.com/users/itzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itzg/subscriptions","organizations_url":"https://api.github.com/users/itzg/orgs","repos_url":"https://api.github.com/users/itzg/repos","events_url":"https://api.github.com/users/itzg/events{/privacy}","received_events_url":"https://api.github.com/users/itzg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itzg/dockerfiles","description":"Contains the various Dockerfile definitions I'm maintaining.","fork":false,"url":"https://api.github.com/repos/itzg/dockerfiles","forks_url":"https://api.github.com/repos/itzg/dockerfiles/forks","keys_url":"https://api.github.com/repos/itzg/dockerfiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itzg/dockerfiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itzg/dockerfiles/teams","hooks_url":"https://api.github.com/repos/itzg/dockerfiles/hooks","issue_events_url":"https://api.github.com/repos/itzg/dockerfiles/issues/events{/number}","events_url":"https://api.github.com/repos/itzg/dockerfiles/events","assignees_url":"https://api.github.com/repos/itzg/dockerfiles/assignees{/user}","branches_url":"https://api.github.com/repos/itzg/dockerfiles/branches{/branch}","tags_url":"https://api.github.com/repos/itzg/dockerfiles/tags","blobs_url":"https://api.github.com/repos/itzg/dockerfiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itzg/dockerfiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itzg/dockerfiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/itzg/dockerfiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itzg/dockerfiles/statuses/{sha}","languages_url":"https://api.github.com/repos/itzg/dockerfiles/languages","stargazers_url":"https://api.github.com/repos/itzg/dockerfiles/stargazers","contributors_url":"https://api.github.com/repos/itzg/dockerfiles/contributors","subscribers_url":"https://api.github.com/repos/itzg/dockerfiles/subscribers","subscription_url":"https://api.github.com/repos/itzg/dockerfiles/subscription","commits_url":"https://api.github.com/repos/itzg/dockerfiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/itzg/dockerfiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/itzg/dockerfiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/itzg/dockerfiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/itzg/dockerfiles/contents/{+path}","compare_url":"https://api.github.com/repos/itzg/dockerfiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itzg/dockerfiles/merges","archive_url":"https://api.github.com/repos/itzg/dockerfiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itzg/dockerfiles/downloads","issues_url":"https://api.github.com/repos/itzg/dockerfiles/issues{/number}","pulls_url":"https://api.github.com/repos/itzg/dockerfiles/pulls{/number}","milestones_url":"https://api.github.com/repos/itzg/dockerfiles/milestones{/number}","notifications_url":"https://api.github.com/repos/itzg/dockerfiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itzg/dockerfiles/labels{/name}","releases_url":"https://api.github.com/repos/itzg/dockerfiles/releases{/id}","created_at":"2014-05-17T22:38:17Z","updated_at":"2015-03-01T21:51:47Z","pushed_at":"2015-03-02T02:58:11Z","git_url":"git://github.com/itzg/dockerfiles.git","ssh_url":"git@github.com:itzg/dockerfiles.git","clone_url":"https://github.com/itzg/dockerfiles.git","svn_url":"https://github.com/itzg/dockerfiles","homepage":null,"size":507,"stargazers_count":21,"watchers_count":21,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":3,"forks":16,"open_issues":3,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/itzg/dockerfiles/pulls/15"},"html":{"href":"https://github.com/itzg/dockerfiles/pull/15"},"issue":{"href":"https://api.github.com/repos/itzg/dockerfiles/issues/15"},"comments":{"href":"https://api.github.com/repos/itzg/dockerfiles/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/itzg/dockerfiles/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/itzg/dockerfiles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/itzg/dockerfiles/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/itzg/dockerfiles/statuses/14a1e5fb2afe9c372646ce26a9b2b92c517067b3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":68,"deletions":0,"changed_files":1}}