{"action":"closed","issue":{"url":"https://api.github.com/repos/DirtyHackSoft/PremStats/issues/1","labels_url":"https://api.github.com/repos/DirtyHackSoft/PremStats/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/DirtyHackSoft/PremStats/issues/1/comments","events_url":"https://api.github.com/repos/DirtyHackSoft/PremStats/issues/1/events","html_url":"https://github.com/DirtyHackSoft/PremStats/issues/1","id":55909201,"number":1,"title":"Design change to the spider","user":{"login":"DirtyHackSoft","id":3530976,"avatar_url":"https://avatars.githubusercontent.com/u/3530976?v=3","gravatar_id":"","url":"https://api.github.com/users/DirtyHackSoft","html_url":"https://github.com/DirtyHackSoft","followers_url":"https://api.github.com/users/DirtyHackSoft/followers","following_url":"https://api.github.com/users/DirtyHackSoft/following{/other_user}","gists_url":"https://api.github.com/users/DirtyHackSoft/gists{/gist_id}","starred_url":"https://api.github.com/users/DirtyHackSoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DirtyHackSoft/subscriptions","organizations_url":"https://api.github.com/users/DirtyHackSoft/orgs","repos_url":"https://api.github.com/users/DirtyHackSoft/repos","events_url":"https://api.github.com/users/DirtyHackSoft/events{/privacy}","received_events_url":"https://api.github.com/users/DirtyHackSoft/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DirtyHackSoft/PremStats/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-29T14:59:11Z","updated_at":"2015-01-29T15:33:42Z","closed_at":"2015-01-29T15:33:42Z","body":"Since the match stats are accessed from a different page to the match Report, the spider design needs to be modified as so:\r\n\r\n1. Crawl main fixtures page to get match IDs\r\n2. Use list of match IDs to create request URLs (match ID and home/away team are args)\r\n3. Launch request URL to be crawled\r\n4. Crawl requested page for DIVs that contain relevant stats - extract the table data\r\n5. Modify request URL again to get other teams stats\r\n6. Move onto the next match ID and repeat"}}