{"action":"created","issue":{"url":"https://api.github.com/repos/halgatewood/youtube-thumbnail-enhancer/issues/2","labels_url":"https://api.github.com/repos/halgatewood/youtube-thumbnail-enhancer/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/halgatewood/youtube-thumbnail-enhancer/issues/2/comments","events_url":"https://api.github.com/repos/halgatewood/youtube-thumbnail-enhancer/issues/2/events","html_url":"https://github.com/halgatewood/youtube-thumbnail-enhancer/issues/2","id":89439127,"number":2,"title":"404 Not Found issue, and it's fix","user":{"login":"kennypu","id":1253814,"avatar_url":"https://avatars.githubusercontent.com/u/1253814?v=3","gravatar_id":"","url":"https://api.github.com/users/kennypu","html_url":"https://github.com/kennypu","followers_url":"https://api.github.com/users/kennypu/followers","following_url":"https://api.github.com/users/kennypu/following{/other_user}","gists_url":"https://api.github.com/users/kennypu/gists{/gist_id}","starred_url":"https://api.github.com/users/kennypu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennypu/subscriptions","organizations_url":"https://api.github.com/users/kennypu/orgs","repos_url":"https://api.github.com/users/kennypu/repos","events_url":"https://api.github.com/users/kennypu/events{/privacy}","received_events_url":"https://api.github.com/users/kennypu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-19T01:19:27Z","updated_at":"2015-06-30T03:01:38Z","closed_at":"2015-06-30T03:01:38Z","body":"So I found that the script will always give 404 Not Found. To fix, change the curl_init target on line 65 to SSL:\r\n\r\n$handle = curl_init(\"http://www.youtube.com/watch/?v=\" . $id);\r\nto\r\n$handle = curl_init(\"https://www.youtube.com/watch/?v=\" . $id);"},"comment":{"url":"https://api.github.com/repos/halgatewood/youtube-thumbnail-enhancer/issues/comments/116927961","html_url":"https://github.com/halgatewood/youtube-thumbnail-enhancer/issues/2#issuecomment-116927961","issue_url":"https://api.github.com/repos/halgatewood/youtube-thumbnail-enhancer/issues/2","id":116927961,"user":{"login":"kennypu","id":1253814,"avatar_url":"https://avatars.githubusercontent.com/u/1253814?v=3","gravatar_id":"","url":"https://api.github.com/users/kennypu","html_url":"https://github.com/kennypu","followers_url":"https://api.github.com/users/kennypu/followers","following_url":"https://api.github.com/users/kennypu/following{/other_user}","gists_url":"https://api.github.com/users/kennypu/gists{/gist_id}","starred_url":"https://api.github.com/users/kennypu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennypu/subscriptions","organizations_url":"https://api.github.com/users/kennypu/orgs","repos_url":"https://api.github.com/users/kennypu/repos","events_url":"https://api.github.com/users/kennypu/events{/privacy}","received_events_url":"https://api.github.com/users/kennypu/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T03:01:38Z","updated_at":"2015-06-30T03:01:38Z","body":"no problem!"}}