{"comment":{"url":"https://api.github.com/repos/YesirJun/-/comments/28751373","html_url":"https://github.com/YesirJun/-/commit/110f4f7688e858ec8d747004cdc6b8751dd06942#commitcomment-28751373","id":28751373,"user":{"login":"YesirJun","id":38492427,"avatar_url":"https://avatars1.githubusercontent.com/u/38492427?v=4","gravatar_id":"","url":"https://api.github.com/users/YesirJun","html_url":"https://github.com/YesirJun","followers_url":"https://api.github.com/users/YesirJun/followers","following_url":"https://api.github.com/users/YesirJun/following{/other_user}","gists_url":"https://api.github.com/users/YesirJun/gists{/gist_id}","starred_url":"https://api.github.com/users/YesirJun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YesirJun/subscriptions","organizations_url":"https://api.github.com/users/YesirJun/orgs","repos_url":"https://api.github.com/users/YesirJun/repos","events_url":"https://api.github.com/users/YesirJun/events{/privacy}","received_events_url":"https://api.github.com/users/YesirJun/received_events","type":"User","site_admin":false},"position":1,"line":1,"path":"README.md","commit_id":"110f4f7688e858ec8d747004cdc6b8751dd06942","created_at":"2018-04-26T12:32:14Z","updated_at":"2018-04-26T12:32:14Z","author_association":"OWNER","body":"import urllib.request as urllib2\r\n\r\nipAddress = \"4.4.4.4\"\r\nua_headers = {\r\n    \"X-Forwarded-For\":ipAddress, 'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) '\r\n                                              'Gecko/20100101 Firefox/57.0',\r\n}\r\n\r\nurl = r'http://104.129.186.123:5000/iptest'\r\nrequest = urllib2.Request(url, headers=ua_headers)\r\n\r\nresponse = urllib2.urlopen(request)\r\n\r\nhtml = response.read()\r\nprint(html.decode('gb2312'))\r\n"}}
{"actor":{"display_login":"YesirJun"}}