{"action":"created","issue":{"url":"https://api.github.com/repos/roflmuffin/node-anime-scraper/issues/5","labels_url":"https://api.github.com/repos/roflmuffin/node-anime-scraper/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/roflmuffin/node-anime-scraper/issues/5/comments","events_url":"https://api.github.com/repos/roflmuffin/node-anime-scraper/issues/5/events","html_url":"https://github.com/roflmuffin/node-anime-scraper/issues/5","id":87364041,"number":5,"title":"AnimeUtils.searchByName breaks all future requests","user":{"login":"roflmuffin","id":4160975,"avatar_url":"https://avatars.githubusercontent.com/u/4160975?v=3","gravatar_id":"","url":"https://api.github.com/users/roflmuffin","html_url":"https://github.com/roflmuffin","followers_url":"https://api.github.com/users/roflmuffin/followers","following_url":"https://api.github.com/users/roflmuffin/following{/other_user}","gists_url":"https://api.github.com/users/roflmuffin/gists{/gist_id}","starred_url":"https://api.github.com/users/roflmuffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roflmuffin/subscriptions","organizations_url":"https://api.github.com/users/roflmuffin/orgs","repos_url":"https://api.github.com/users/roflmuffin/repos","events_url":"https://api.github.com/users/roflmuffin/events{/privacy}","received_events_url":"https://api.github.com/users/roflmuffin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/roflmuffin/node-anime-scraper/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"roflmuffin","id":4160975,"avatar_url":"https://avatars.githubusercontent.com/u/4160975?v=3","gravatar_id":"","url":"https://api.github.com/users/roflmuffin","html_url":"https://github.com/roflmuffin","followers_url":"https://api.github.com/users/roflmuffin/followers","following_url":"https://api.github.com/users/roflmuffin/following{/other_user}","gists_url":"https://api.github.com/users/roflmuffin/gists{/gist_id}","starred_url":"https://api.github.com/users/roflmuffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roflmuffin/subscriptions","organizations_url":"https://api.github.com/users/roflmuffin/orgs","repos_url":"https://api.github.com/users/roflmuffin/repos","events_url":"https://api.github.com/users/roflmuffin/events{/privacy}","received_events_url":"https://api.github.com/users/roflmuffin/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-11T14:21:30Z","updated_at":"2015-06-12T03:00:44Z","closed_at":"2015-06-12T03:00:44Z","body":"For some reason, using AnimeUtils.searchByName causes all future requests through anime-scraper to break and return ECONNRESET connection resets.\r\n\r\nNo idea what the issue is but I believe it might have something to do with CloudFlare which KissAnime uses.\r\n\r\nAs a result, Anime.fromName is not currently functional (as it uses searchByName) to instantiate an anime from a name. Using it **WILL** break your app until reloaded.\r\n\r\nThanks to Stefan for pointing this out.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/roflmuffin/node-anime-scraper/issues/comments/111337813","html_url":"https://github.com/roflmuffin/node-anime-scraper/issues/5#issuecomment-111337813","issue_url":"https://api.github.com/repos/roflmuffin/node-anime-scraper/issues/5","id":111337813,"user":{"login":"roflmuffin","id":4160975,"avatar_url":"https://avatars.githubusercontent.com/u/4160975?v=3","gravatar_id":"","url":"https://api.github.com/users/roflmuffin","html_url":"https://github.com/roflmuffin","followers_url":"https://api.github.com/users/roflmuffin/followers","following_url":"https://api.github.com/users/roflmuffin/following{/other_user}","gists_url":"https://api.github.com/users/roflmuffin/gists{/gist_id}","starred_url":"https://api.github.com/users/roflmuffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roflmuffin/subscriptions","organizations_url":"https://api.github.com/users/roflmuffin/orgs","repos_url":"https://api.github.com/users/roflmuffin/repos","events_url":"https://api.github.com/users/roflmuffin/events{/privacy}","received_events_url":"https://api.github.com/users/roflmuffin/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T03:00:44Z","updated_at":"2015-06-12T03:00:44Z","body":"Resolved in 2d937b1c50a584ac3f81d32bd7e712c197b56ba5. Issue caused by accidentally reusing headers from previous requests."}}