{"action":"created","issue":{"url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/212","labels_url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/212/comments","events_url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/212/events","html_url":"https://github.com/jeanphix/Ghost.py/issues/212","id":59322485,"number":212,"title":"nothing can be fetch when use ghost.set_proxy()","user":{"login":"lijiajia","id":8953690,"avatar_url":"https://avatars.githubusercontent.com/u/8953690?v=3","gravatar_id":"","url":"https://api.github.com/users/lijiajia","html_url":"https://github.com/lijiajia","followers_url":"https://api.github.com/users/lijiajia/followers","following_url":"https://api.github.com/users/lijiajia/following{/other_user}","gists_url":"https://api.github.com/users/lijiajia/gists{/gist_id}","starred_url":"https://api.github.com/users/lijiajia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lijiajia/subscriptions","organizations_url":"https://api.github.com/users/lijiajia/orgs","repos_url":"https://api.github.com/users/lijiajia/repos","events_url":"https://api.github.com/users/lijiajia/events{/privacy}","received_events_url":"https://api.github.com/users/lijiajia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-28T03:15:22Z","updated_at":"2015-03-23T07:35:28Z","closed_at":null,"body":"There is nothing to be fetched when I use ghost.set_proxy(). I don't know how to deal it.\r\n\r\nsamples:\r\nghost = Ghost()\r\npage, resources = ghost.open(url)    //success\r\n\r\nghost = Ghost()\r\nghost.set_proxy('http', host=host, port=port)\r\npage, resources = ghost.open(url)    //fail"},"comment":{"url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/comments/84858495","html_url":"https://github.com/jeanphix/Ghost.py/issues/212#issuecomment-84858495","issue_url":"https://api.github.com/repos/jeanphix/Ghost.py/issues/212","id":84858495,"user":{"login":"lijiajia","id":8953690,"avatar_url":"https://avatars.githubusercontent.com/u/8953690?v=3","gravatar_id":"","url":"https://api.github.com/users/lijiajia","html_url":"https://github.com/lijiajia","followers_url":"https://api.github.com/users/lijiajia/followers","following_url":"https://api.github.com/users/lijiajia/following{/other_user}","gists_url":"https://api.github.com/users/lijiajia/gists{/gist_id}","starred_url":"https://api.github.com/users/lijiajia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lijiajia/subscriptions","organizations_url":"https://api.github.com/users/lijiajia/orgs","repos_url":"https://api.github.com/users/lijiajia/repos","events_url":"https://api.github.com/users/lijiajia/events{/privacy}","received_events_url":"https://api.github.com/users/lijiajia/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T07:35:28Z","updated_at":"2015-03-23T07:35:28Z","body":"when I use\nghost.set_proxy('http', host='http://fq.mioffice.cn', port=3128)\npage, extra_resources = ghost.open('http://movie.mtime.com/movie/search/section/#year=1997&pageIndex=1\n')\nghost.content is null.\nwhen I don't use ghost.set_proxy(), ghost.content is right\n\nOn the other hand, when I set the proxy in chrome, I can get right content\n\n\n\n\n\n\n\nAt 2015-03-05 01:47:05, \"Richard McPherson\" <notifications@github.com> wrote:\n\n\nCan you post more information? How is it failing? What errors are you getting? What proxy are you using and what sites have you tried this on?\n\nAlso, make sure port is an int, not a string.\n\n¡ª\nReply to this email directly or view it on GitHub."}}