{"action":"created","issue":{"url":"https://api.github.com/repos/waditu/tushare/issues/46","labels_url":"https://api.github.com/repos/waditu/tushare/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/waditu/tushare/issues/46/comments","events_url":"https://api.github.com/repos/waditu/tushare/issues/46/events","html_url":"https://github.com/waditu/tushare/issues/46","id":97207234,"number":46,"title":"获取中小板和创业板分类错误","user":{"login":"firefenta","id":13494369,"avatar_url":"https://avatars.githubusercontent.com/u/13494369?v=3","gravatar_id":"","url":"https://api.github.com/users/firefenta","html_url":"https://github.com/firefenta","followers_url":"https://api.github.com/users/firefenta/followers","following_url":"https://api.github.com/users/firefenta/following{/other_user}","gists_url":"https://api.github.com/users/firefenta/gists{/gist_id}","starred_url":"https://api.github.com/users/firefenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firefenta/subscriptions","organizations_url":"https://api.github.com/users/firefenta/orgs","repos_url":"https://api.github.com/users/firefenta/repos","events_url":"https://api.github.com/users/firefenta/events{/privacy}","received_events_url":"https://api.github.com/users/firefenta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-25T08:08:32Z","updated_at":"2015-07-29T05:31:40Z","closed_at":null,"body":"创业板和中小板都是相似的问题，沪深300和中证500没有问题。\r\n\r\n```python\r\nimport pandas as pd\r\nimport tushare as ts\r\npd.set_option('display.width', 200)\r\nzxb = ts.get_sme_classified()\r\n```\r\n\r\n```\r\n\"C:\\Program Files\\Anaconda3\\python.exe\" \"D:/MyDoc/Cloud Station/Investment/Python/PQuant/A Share DK Pailie.py\"\r\nTraceback (most recent call last):\r\n  File \"D:/MyDoc/Cloud Station/Investment/Python/PQuant/A Share DK Pailie.py\", line 8, in <module>\r\n    zxb = ts.get_sme_classified()\r\n  File \"C:\\Program Files\\Anaconda3\\lib\\site-packages\\tushare\\stock\\classifying.py\", line 113, in get_sme_classified\r\n    df = fd.get_stock_basics()\r\n  File \"C:\\Program Files\\Anaconda3\\lib\\site-packages\\tushare\\stock\\fundamental.py\", line 44, in get_stock_basics\r\n    text = urlopen(request, timeout=10).read()\r\n  File \"C:\\Program Files\\Anaconda3\\lib\\urllib\\request.py\", line 161, in urlopen\r\n    return opener.open(url, data, timeout)\r\n  File \"C:\\Program Files\\Anaconda3\\lib\\urllib\\request.py\", line 469, in open\r\n    response = meth(req, response)\r\n  File \"C:\\Program Files\\Anaconda3\\lib\\urllib\\request.py\", line 579, in http_response\r\n    'http', request, response, code, msg, hdrs)\r\n  File \"C:\\Program Files\\Anaconda3\\lib\\urllib\\request.py\", line 507, in error\r\n    return self._call_chain(*args)\r\n  File \"C:\\Program Files\\Anaconda3\\lib\\urllib\\request.py\", line 441, in _call_chain\r\n    result = func(*args)\r\n  File \"C:\\Program Files\\Anaconda3\\lib\\urllib\\request.py\", line 587, in http_error_default\r\n    raise HTTPError(req.full_url, code, msg, hdrs, fp)\r\nurllib.error.HTTPError: HTTP Error 403: Forbidden\r\n\r\nProcess finished with exit code 1\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/waditu/tushare/issues/comments/125848084","html_url":"https://github.com/waditu/tushare/issues/46#issuecomment-125848084","issue_url":"https://api.github.com/repos/waditu/tushare/issues/46","id":125848084,"user":{"login":"firefenta","id":13494369,"avatar_url":"https://avatars.githubusercontent.com/u/13494369?v=3","gravatar_id":"","url":"https://api.github.com/users/firefenta","html_url":"https://github.com/firefenta","followers_url":"https://api.github.com/users/firefenta/followers","following_url":"https://api.github.com/users/firefenta/following{/other_user}","gists_url":"https://api.github.com/users/firefenta/gists{/gist_id}","starred_url":"https://api.github.com/users/firefenta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firefenta/subscriptions","organizations_url":"https://api.github.com/users/firefenta/orgs","repos_url":"https://api.github.com/users/firefenta/repos","events_url":"https://api.github.com/users/firefenta/events{/privacy}","received_events_url":"https://api.github.com/users/firefenta/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T05:31:40Z","updated_at":"2015-07-29T05:31:40Z","body":"已经好了，可以读取，前两天不知道是为什么会有HTTP Error 403: Forbidden的错误。"}}