{"action":"created","issue":{"url":"https://api.github.com/repos/guardian/membership-frontend/issues/238","labels_url":"https://api.github.com/repos/guardian/membership-frontend/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/guardian/membership-frontend/issues/238/comments","events_url":"https://api.github.com/repos/guardian/membership-frontend/issues/238/events","html_url":"https://github.com/guardian/membership-frontend/pull/238","id":58571185,"number":238,"title":"Code to fix the main-image parsing problem","user":{"login":"rtyley","id":52038,"avatar_url":"https://avatars.githubusercontent.com/u/52038?v=3","gravatar_id":"","url":"https://api.github.com/users/rtyley","html_url":"https://github.com/rtyley","followers_url":"https://api.github.com/users/rtyley/followers","following_url":"https://api.github.com/users/rtyley/following{/other_user}","gists_url":"https://api.github.com/users/rtyley/gists{/gist_id}","starred_url":"https://api.github.com/users/rtyley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtyley/subscriptions","organizations_url":"https://api.github.com/users/rtyley/orgs","repos_url":"https://api.github.com/users/rtyley/repos","events_url":"https://api.github.com/users/rtyley/events{/privacy}","received_events_url":"https://api.github.com/users/rtyley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-23T11:00:26Z","updated_at":"2015-02-24T15:27:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/guardian/membership-frontend/pulls/238","html_url":"https://github.com/guardian/membership-frontend/pull/238","diff_url":"https://github.com/guardian/membership-frontend/pull/238.diff","patch_url":"https://github.com/guardian/membership-frontend/pull/238.patch"},"body":"Unfortunately, this PR omits the most important part of the pull request... the failing test, I just want to save @mattandrews some work.\r\n"},"comment":{"url":"https://api.github.com/repos/guardian/membership-frontend/issues/comments/75777120","html_url":"https://github.com/guardian/membership-frontend/pull/238#issuecomment-75777120","issue_url":"https://api.github.com/repos/guardian/membership-frontend/issues/238","id":75777120,"user":{"login":"rtyley","id":52038,"avatar_url":"https://avatars.githubusercontent.com/u/52038?v=3","gravatar_id":"","url":"https://api.github.com/users/rtyley","html_url":"https://github.com/rtyley","followers_url":"https://api.github.com/users/rtyley/followers","following_url":"https://api.github.com/users/rtyley/following{/other_user}","gists_url":"https://api.github.com/users/rtyley/gists{/gist_id}","starred_url":"https://api.github.com/users/rtyley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtyley/subscriptions","organizations_url":"https://api.github.com/users/rtyley/orgs","repos_url":"https://api.github.com/users/rtyley/repos","events_url":"https://api.github.com/users/rtyley/events{/privacy}","received_events_url":"https://api.github.com/users/rtyley/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T15:27:18Z","updated_at":"2015-02-24T15:27:18Z","body":"I've squashed the commits for this into a single commit, and tweaked the tests so that it's a bit clearer to see what we do for a given url:\r\n\r\nhttps://github.com/guardian/membership-frontend/blob/df37629/frontend/test/model/EBEventTest.scala#L63-L70\r\n\r\nI think we should never kill an event, just because it's image is missing or unparsable- and we can be tolerant when we encounter something like:\r\n\r\n```\r\n<!-- main-image: https://media.gutools.co.uk/images/e5b35b1f20588172b24960314cbf8e9c8482d3bf?crop=27_0_1800_1080 ! -->\r\n```\r\n"}}