{"action":"created","issue":{"url":"https://api.github.com/repos/upbit/pixivpy/issues/11","repository_url":"https://api.github.com/repos/upbit/pixivpy","labels_url":"https://api.github.com/repos/upbit/pixivpy/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/upbit/pixivpy/issues/11/comments","events_url":"https://api.github.com/repos/upbit/pixivpy/issues/11/events","html_url":"https://github.com/upbit/pixivpy/issues/11","id":152036768,"number":11,"title":"出现乱码该如何解决？","user":{"login":"moesora","id":3344343,"avatar_url":"https://avatars.githubusercontent.com/u/3344343?v=3","gravatar_id":"","url":"https://api.github.com/users/moesora","html_url":"https://github.com/moesora","followers_url":"https://api.github.com/users/moesora/followers","following_url":"https://api.github.com/users/moesora/following{/other_user}","gists_url":"https://api.github.com/users/moesora/gists{/gist_id}","starred_url":"https://api.github.com/users/moesora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moesora/subscriptions","organizations_url":"https://api.github.com/users/moesora/orgs","repos_url":"https://api.github.com/users/moesora/repos","events_url":"https://api.github.com/users/moesora/events{/privacy}","received_events_url":"https://api.github.com/users/moesora/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-30T15:35:01Z","updated_at":"2016-04-30T15:45:43Z","closed_at":null,"body":"`[đ���ä¸�ă�Ťă�Šđ���ć��ć�˘ĺŻžćąş] http://i3.pixiv.net/c/480x960/img-master/img/2016/04/30/08/42/32/56583142_p0_master1200.jpg\r\n[ă��5/3čś�ĺŽśĺŽ�ă��ă�Ťă�Šä¸�ć�°ĺ��ă�ľă�łă��ă�Ť] http://i1.pixiv.net/c/480x960/img-master/img/2016/04/29/21/34/46/56597152_p0_master1200.jpg\r\n[ă�Ťă�Šć�žă��ĺĽłä˝�ĺ��ă��ă��čŠąďź�ďź�] http://i4.pixiv.net/c/480x960/img-master/img/2016/04/28/20/51/12/56577411_p0_master1200.jpg\r\n[ă��ä¸�ă�Ťă�Šă��ĺ��ă��ă��ă�Żé��ĺ�ŚĺĽłâ�Łă��ă�˘ă��ă�Ťă�Šă��] http://i1.pixiv.net/c/480x960/img-master/img/2016/04/29/14/52/07/56590732_p0_master1200.jpg\r\n[ă��R18č��ă��JG] http://i4.pixiv.net/c/480x960/img-master/img/2016/04/28/19/27/08/56576043_p0_master1200.jpg`\r\n\r\n原因大概是因为某标题出现了 `💜💙`\r\n\r\n @upbit "},"comment":{"url":"https://api.github.com/repos/upbit/pixivpy/issues/comments/215974336","html_url":"https://github.com/upbit/pixivpy/issues/11#issuecomment-215974336","issue_url":"https://api.github.com/repos/upbit/pixivpy/issues/11","id":215974336,"user":{"login":"moesora","id":3344343,"avatar_url":"https://avatars.githubusercontent.com/u/3344343?v=3","gravatar_id":"","url":"https://api.github.com/users/moesora","html_url":"https://github.com/moesora","followers_url":"https://api.github.com/users/moesora/followers","following_url":"https://api.github.com/users/moesora/following{/other_user}","gists_url":"https://api.github.com/users/moesora/gists{/gist_id}","starred_url":"https://api.github.com/users/moesora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moesora/subscriptions","organizations_url":"https://api.github.com/users/moesora/orgs","repos_url":"https://api.github.com/users/moesora/repos","events_url":"https://api.github.com/users/moesora/events{/privacy}","received_events_url":"https://api.github.com/users/moesora/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T15:45:43Z","updated_at":"2016-04-30T15:45:43Z","body":"```\r\n#!/usr/bin/env python\r\n# -*- coding: utf-8 -*-\r\nimport sys\r\n\r\nif sys.version_info >= (3, 0):\r\n    import imp\r\n    imp.reload(sys)\r\nelse:\r\n    reload(sys)\r\n    sys.setdefaultencoding('utf8')\r\nsys.dont_write_bytecode = True\r\n\r\nfrom pixivpy3 import *  # noqa\r\n\r\n# ## change _USERNAME,_PASSWORD first!\r\napi = PixivAPI()\r\napi.login(\"******\", \"******\")\r\n\r\n# get ranking (page1)\r\njson_result = api.ranking('all','female_r18', 1)\r\nranking = json_result.response[0]\r\nfor illust in ranking.works:\r\n    print(\"[%s] %s\" % (\r\n    \tillust.work.title,\r\n    \tillust.work.image_urls.px_480mw,\r\n    \t)\r\n    )\r\n```"}}