{"action":"opened","issue":{"url":"https://api.github.com/repos/tboothman/imdbphp/issues/45","labels_url":"https://api.github.com/repos/tboothman/imdbphp/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/tboothman/imdbphp/issues/45/comments","events_url":"https://api.github.com/repos/tboothman/imdbphp/issues/45/events","html_url":"https://github.com/tboothman/imdbphp/issues/45","id":129057148,"number":45,"title":"Error for wrong iMDB id","user":{"login":"mpol12","id":10683724,"avatar_url":"https://avatars.githubusercontent.com/u/10683724?v=3","gravatar_id":"","url":"https://api.github.com/users/mpol12","html_url":"https://github.com/mpol12","followers_url":"https://api.github.com/users/mpol12/followers","following_url":"https://api.github.com/users/mpol12/following{/other_user}","gists_url":"https://api.github.com/users/mpol12/gists{/gist_id}","starred_url":"https://api.github.com/users/mpol12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpol12/subscriptions","organizations_url":"https://api.github.com/users/mpol12/orgs","repos_url":"https://api.github.com/users/mpol12/repos","events_url":"https://api.github.com/users/mpol12/events{/privacy}","received_events_url":"https://api.github.com/users/mpol12/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-27T07:16:13Z","updated_at":"2016-01-27T07:16:13Z","closed_at":null,"body":"I have several mistyped iMDB ids in my DB. When these ids are used with imdbPHP I get the an error saying\r\n**Imdb\\Exception\\Http: Uncaught exception 'Imdb\\Exception\\Http' with message 'Failed to retrieve url [http://akas.imdb.com/title/tt1223602/]. Status code [404]' in /*'path_to_imdbPHP'*/src/Imdb/Pages.php**\r\n\r\nThis error breaks my script. It would be very useful if there was a small check function in imdbPHP which could be used to verify that the iMDB id we are using corresponds to an valid page. Is this something you would consider incorporating?"}}