{"action":"created","issue":{"url":"https://api.github.com/repos/hellock/icrawler/issues/5","repository_url":"https://api.github.com/repos/hellock/icrawler","labels_url":"https://api.github.com/repos/hellock/icrawler/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/hellock/icrawler/issues/5/comments","events_url":"https://api.github.com/repos/hellock/icrawler/issues/5/events","html_url":"https://github.com/hellock/icrawler/issues/5","id":156353905,"number":5,"title":"OSError: cannot identify image file","user":{"login":"iKaos","id":9198409,"avatar_url":"https://avatars.githubusercontent.com/u/9198409?v=3","gravatar_id":"","url":"https://api.github.com/users/iKaos","html_url":"https://github.com/iKaos","followers_url":"https://api.github.com/users/iKaos/followers","following_url":"https://api.github.com/users/iKaos/following{/other_user}","gists_url":"https://api.github.com/users/iKaos/gists{/gist_id}","starred_url":"https://api.github.com/users/iKaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iKaos/subscriptions","organizations_url":"https://api.github.com/users/iKaos/orgs","repos_url":"https://api.github.com/users/iKaos/repos","events_url":"https://api.github.com/users/iKaos/events{/privacy}","received_events_url":"https://api.github.com/users/iKaos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-23T19:59:21Z","updated_at":"2016-06-22T16:04:14Z","closed_at":null,"body":"Firstly, I really appreciate your work!\r\n\r\nI am currently using this to scrape Google images, but there seems to be an error I can not solve.\r\n\r\n`Exception in thread downloader-02:\r\nTraceback (most recent call last):\r\n  File \"/home/tn/lib/python3.5/threading.py\", line 914, in _bootstrap_inner\r\n    self.run()\r\n  File \"/home/tn/lib/python3.5/threading.py\", line 862, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"/home/tn/lib/python3.5/site-packages/icrawler-0.2.1-py3.5.egg/icrawler/downloader.py\", line 228, in thread_run\r\n    self.download(task, request_timeout, **kwargs)\r\n  File \"/home/tn/lib/python3.5/site-packages/icrawler-0.2.1-py3.5.egg/icrawler/downloader.py\", line 124, in download\r\n    img = Image.open(io.BytesIO(response.content))\r\n  File \"/home/tn/lib/python3.5/site-packages/Pillow-3.2.0-py3.5-linux-x86_64.egg/PIL/Image.py\", line 2309, in open\r\n    % (filename if filename else fp))\r\nOSError: cannot identify image file <_io.BytesIO object at 0x2aaabc453a40>`\r\n\r\nCould you assist me with this?"},"comment":{"url":"https://api.github.com/repos/hellock/icrawler/issues/comments/227792421","html_url":"https://github.com/hellock/icrawler/issues/5#issuecomment-227792421","issue_url":"https://api.github.com/repos/hellock/icrawler/issues/5","id":227792421,"user":{"login":"Lightjohn","id":7568409,"avatar_url":"https://avatars.githubusercontent.com/u/7568409?v=3","gravatar_id":"","url":"https://api.github.com/users/Lightjohn","html_url":"https://github.com/Lightjohn","followers_url":"https://api.github.com/users/Lightjohn/followers","following_url":"https://api.github.com/users/Lightjohn/following{/other_user}","gists_url":"https://api.github.com/users/Lightjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/Lightjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lightjohn/subscriptions","organizations_url":"https://api.github.com/users/Lightjohn/orgs","repos_url":"https://api.github.com/users/Lightjohn/repos","events_url":"https://api.github.com/users/Lightjohn/events{/privacy}","received_events_url":"https://api.github.com/users/Lightjohn/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T16:04:14Z","updated_at":"2016-06-22T16:04:14Z","body":"Funny thing, it's working perfectly if I set the downloader threads to 1 instead of 4.\r\nAnd I found another problem: you are forcefully setting extension to .jpg, and on my non windows machine, it's not working. You should at least keep the extension in my opinion."}}
{"actor":{"display_login":"Lightjohn"}}