{"action":"created","issue":{"url":"https://api.github.com/repos/cardigann/cardigann/issues/95","repository_url":"https://api.github.com/repos/cardigann/cardigann","labels_url":"https://api.github.com/repos/cardigann/cardigann/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/cardigann/cardigann/issues/95/comments","events_url":"https://api.github.com/repos/cardigann/cardigann/issues/95/events","html_url":"https://github.com/cardigann/cardigann/issues/95","id":182059983,"number":95,"title":"EZTV parsing and searching issues","user":{"login":"noahbody-knows","id":22750298,"avatar_url":"https://avatars.githubusercontent.com/u/22750298?v=3","gravatar_id":"","url":"https://api.github.com/users/noahbody-knows","html_url":"https://github.com/noahbody-knows","followers_url":"https://api.github.com/users/noahbody-knows/followers","following_url":"https://api.github.com/users/noahbody-knows/following{/other_user}","gists_url":"https://api.github.com/users/noahbody-knows/gists{/gist_id}","starred_url":"https://api.github.com/users/noahbody-knows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahbody-knows/subscriptions","organizations_url":"https://api.github.com/users/noahbody-knows/orgs","repos_url":"https://api.github.com/users/noahbody-knows/repos","events_url":"https://api.github.com/users/noahbody-knows/events{/privacy}","received_events_url":"https://api.github.com/users/noahbody-knows/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-10T16:36:24Z","updated_at":"2016-10-11T08:10:10Z","closed_at":null,"body":"The EZTV definition has multiple searching and parsing issues; here are the ones I've found so far:\r\n\r\n* The field definitions for seeders needs to strip commas (which are being used as thousands separators), and replace '-' with '0' (sometimes the seeder count is a '-')\r\n* Release dates are relative, in the form \"2 mo\" or \"3 years\" - the years seem to be parsed correctly, but not the \"mo\"\r\n* EZTV always returns search results, even if a query fails: you will instead get 50 irrelevant results\r\n* EZTV series years don't always work correctly with Sonarr: if Sonarr tags the series with a year but EZTV does not (e.g. Sonarr uses \"King 2011\" but EZTV just lists episodes as \"King\"), then EZTV will fail *all* queries for that series and return 50 irrelevant results (because it doesn't have any episodes that match \"King 2011\").  A possible workaround would be to exclude series years from the query string sent to EZTV, thereby broadening the match.  (Or perhaps to replace only specific problematic series' query strings?)\r\n\r\nI have the impression that most of these things could probably be fixed at the definition level with appropriate filters and query string formation, but there isn't a lot of documentation on that yet.  I've managed to reverse engineer a *bit* of how some of the definition stuff works, but not enough to pull off the query string modification.  (Otherwise, I'd send a pull request rather than a bug report.)  Thanks."},"comment":{"url":"https://api.github.com/repos/cardigann/cardigann/issues/comments/252842003","html_url":"https://github.com/cardigann/cardigann/issues/95#issuecomment-252842003","issue_url":"https://api.github.com/repos/cardigann/cardigann/issues/95","id":252842003,"user":{"login":"lxt2","id":20478015,"avatar_url":"https://avatars.githubusercontent.com/u/20478015?v=3","gravatar_id":"","url":"https://api.github.com/users/lxt2","html_url":"https://github.com/lxt2","followers_url":"https://api.github.com/users/lxt2/followers","following_url":"https://api.github.com/users/lxt2/following{/other_user}","gists_url":"https://api.github.com/users/lxt2/gists{/gist_id}","starred_url":"https://api.github.com/users/lxt2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxt2/subscriptions","organizations_url":"https://api.github.com/users/lxt2/orgs","repos_url":"https://api.github.com/users/lxt2/repos","events_url":"https://api.github.com/users/lxt2/events{/privacy}","received_events_url":"https://api.github.com/users/lxt2/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T08:10:10Z","updated_at":"2016-10-11T08:10:10Z","body":"I'm working on doing some better parsing of results, at which point it should be easier to filter out the junk, although sonarr does it anyway eventually. "}}
{"actor":{"display_login":"lxt2"}}