{"action":"closed","issue":{"url":"https://api.github.com/repos/YaoZeyuan/ZhihuHelp/issues/72","repository_url":"https://api.github.com/repos/YaoZeyuan/ZhihuHelp","labels_url":"https://api.github.com/repos/YaoZeyuan/ZhihuHelp/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/YaoZeyuan/ZhihuHelp/issues/72/comments","events_url":"https://api.github.com/repos/YaoZeyuan/ZhihuHelp/issues/72/events","html_url":"https://github.com/YaoZeyuan/ZhihuHelp/issues/72","id":145987491,"number":72,"title":"爬取专栏，一些图片类型没有处理","user":{"login":"knarfeh","id":6964284,"avatar_url":"https://avatars.githubusercontent.com/u/6964284?v=3","gravatar_id":"","url":"https://api.github.com/users/knarfeh","html_url":"https://github.com/knarfeh","followers_url":"https://api.github.com/users/knarfeh/followers","following_url":"https://api.github.com/users/knarfeh/following{/other_user}","gists_url":"https://api.github.com/users/knarfeh/gists{/gist_id}","starred_url":"https://api.github.com/users/knarfeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knarfeh/subscriptions","organizations_url":"https://api.github.com/users/knarfeh/orgs","repos_url":"https://api.github.com/users/knarfeh/repos","events_url":"https://api.github.com/users/knarfeh/events{/privacy}","received_events_url":"https://api.github.com/users/knarfeh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-05T13:22:32Z","updated_at":"2016-04-17T06:57:26Z","closed_at":"2016-04-17T06:57:26Z","body":"爬取 http://zhuanlan.zhihu.com/bixiaguan 的过程中，不少图片类型没有处理好，很多图片没有爬取下来，报错信息比较多，典型的一个是这样的：\r\n\r\n```\r\n2016-04-05 21:20:17,239 - http.py:63 - main - 未知错误\r\n2016-04-05 21:20:17,239 - http.py:64 - main - 错误页面:11604b51fcd2dbe79c9e1b21fd61e503.jpg\r\n2016-04-05 21:20:17,239 - http.py:65 - main - 错误堆栈信息:Traceback (most recent call last):\r\n  File \"/Users/Frank/PycharmProjects/ZhihuHelp/src/tools/http.py\", line 46, in get_content\r\n    response = urllib2.urlopen(request, timeout=timeout)\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py\", line 154, in urlopen\r\n    return opener.open(url, data, timeout)\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py\", line 423, in open\r\n    protocol = req.get_type()\r\n  File \"/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py\", line 285, in get_type\r\n    raise ValueError, \"unknown url type: %s\" % self.__original\r\nValueError: unknown url type: 11604b51fcd2dbe79c9e1b21fd61e503.jpg\r\n```\r\n制作的电子书：  \r\n<img width=\"958\" alt=\"screen shot 2016-04-05 at 21 18 48\" src=\"https://cloud.githubusercontent.com/assets/6964284/14283128/6feb7898-fb74-11e5-930c-fa6c051e9c88.png\">\r\n"}}