{"action":"closed","issue":{"url":"https://api.github.com/repos/fm4d/KickassAPI/issues/6","labels_url":"https://api.github.com/repos/fm4d/KickassAPI/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/fm4d/KickassAPI/issues/6/comments","events_url":"https://api.github.com/repos/fm4d/KickassAPI/issues/6/events","html_url":"https://github.com/fm4d/KickassAPI/issues/6","id":54985904,"number":6,"title":"ConnectionError: Bad Status Line(\"' '\",)","user":{"login":"sbjaved","id":4262782,"avatar_url":"https://avatars.githubusercontent.com/u/4262782?v=3","gravatar_id":"","url":"https://api.github.com/users/sbjaved","html_url":"https://github.com/sbjaved","followers_url":"https://api.github.com/users/sbjaved/followers","following_url":"https://api.github.com/users/sbjaved/following{/other_user}","gists_url":"https://api.github.com/users/sbjaved/gists{/gist_id}","starred_url":"https://api.github.com/users/sbjaved/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbjaved/subscriptions","organizations_url":"https://api.github.com/users/sbjaved/orgs","repos_url":"https://api.github.com/users/sbjaved/repos","events_url":"https://api.github.com/users/sbjaved/events{/privacy}","received_events_url":"https://api.github.com/users/sbjaved/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-21T07:19:01Z","updated_at":"2015-02-04T10:43:43Z","closed_at":"2015-02-04T10:43:43Z","body":"My code was running fine for past week but today it suddenly started throwing up errors.\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/saad/Code/kat.py\", line 102, in <module>\r\n    main()\r\n  File \"/home/saad/Code/kat.py\", line 78, in main\r\n    for torrent in Search(film).category(CATEGORY.MOVIES).order(ORDER.SEED):\r\n  File \"/usr/local/lib/python2.7/dist-packages/KickassAPI.py\", line 182, in _items\r\n    torrents = map(self._get_torrent, self._get_rows())\r\n  File \"/usr/local/lib/python2.7/dist-packages/KickassAPI.py\", line 228, in _get_rows\r\n    pq = PyQuery(url=self.url.build())\r\n  File \"/usr/local/lib/python2.7/dist-packages/pyquery/pyquery.py\", line 194, in __init__\r\n    html = url_opener(url, kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pyquery/openers.py\", line 71, in url_opener\r\n    return _requests(url, kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pyquery/openers.py\", line 56, in _requests\r\n    resp = meth(url=url, **kw)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/api.py\", line 65, in get\r\n    return request('get', url, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/api.py\", line 49, in request\r\n    response = session.request(method=method, url=url, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/sessions.py\", line 461, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/sessions.py\", line 599, in send\r\n    history = [resp for resp in gen] if allow_redirects else []\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/sessions.py\", line 192, in resolve_redirects\r\n    allow_redirects=False,\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/sessions.py\", line 573, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests/adapters.py\", line 415, in send\r\n    raise ConnectionError(err, request=request)\r\nrequests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine(\"''\",))\r\n\r\nPlease take a look."}}