{"action":"created","issue":{"url":"https://api.github.com/repos/kennethreitz/requests-html/issues/131","repository_url":"https://api.github.com/repos/kennethreitz/requests-html","labels_url":"https://api.github.com/repos/kennethreitz/requests-html/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/kennethreitz/requests-html/issues/131/comments","events_url":"https://api.github.com/repos/kennethreitz/requests-html/issues/131/events","html_url":"https://github.com/kennethreitz/requests-html/issues/131","id":304247087,"node_id":"MDU6SXNzdWUzMDQyNDcwODc=","number":131,"title":"error while using html.render","user":{"login":"kadnan","id":273196,"node_id":"MDQ6VXNlcjI3MzE5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/273196?v=4","gravatar_id":"","url":"https://api.github.com/users/kadnan","html_url":"https://github.com/kadnan","followers_url":"https://api.github.com/users/kadnan/followers","following_url":"https://api.github.com/users/kadnan/following{/other_user}","gists_url":"https://api.github.com/users/kadnan/gists{/gist_id}","starred_url":"https://api.github.com/users/kadnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadnan/subscriptions","organizations_url":"https://api.github.com/users/kadnan/orgs","repos_url":"https://api.github.com/users/kadnan/repos","events_url":"https://api.github.com/users/kadnan/events{/privacy}","received_events_url":"https://api.github.com/users/kadnan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-12T05:41:35Z","updated_at":"2018-08-06T00:00:57Z","closed_at":"2018-03-12T10:27:24Z","author_association":"NONE","body":"```\r\nsession = HTMLSession()\r\n    r = session.get('https://python.org/')\r\n    r.html.render()\r\n    r.html.search('Python 2 will retire in only {months} months!')['months']\r\n```\r\n\r\nThe error generates:\r\n\r\n```\r\nFile \"/anaconda3/anaconda/lib/python3.6/site-packages/requests_html.py\", line 559, in render\r\n    content, result, page = loop.run_until_complete(_async_render(url=self.url, script=script, sleep=sleep, wait=wait, content=self.html, reload=reload, scrolldown=scrolldown, timeout=timeout))\r\n  File \"/anaconda3/anaconda/lib/python3.6/asyncio/base_events.py\", line 467, in run_until_complete\r\n    return future.result()\r\n  File \"/anaconda3/anaconda/lib/python3.6/site-packages/requests_html.py\", line 517, in _async_render\r\n    page = await browser.newPage()\r\nAttributeError: 'coroutine' object has no attribute 'newPage'\r\nsys:1: RuntimeWarning: coroutine 'launch' was never awaited\r\n```"},"comment":{"url":"https://api.github.com/repos/kennethreitz/requests-html/issues/comments/410557903","html_url":"https://github.com/kennethreitz/requests-html/issues/131#issuecomment-410557903","issue_url":"https://api.github.com/repos/kennethreitz/requests-html/issues/131","id":410557903,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDU1NzkwMw==","user":{"login":"CodeVINCI","id":18413238,"node_id":"MDQ6VXNlcjE4NDEzMjM4","avatar_url":"https://avatars2.githubusercontent.com/u/18413238?v=4","gravatar_id":"","url":"https://api.github.com/users/CodeVINCI","html_url":"https://github.com/CodeVINCI","followers_url":"https://api.github.com/users/CodeVINCI/followers","following_url":"https://api.github.com/users/CodeVINCI/following{/other_user}","gists_url":"https://api.github.com/users/CodeVINCI/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeVINCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeVINCI/subscriptions","organizations_url":"https://api.github.com/users/CodeVINCI/orgs","repos_url":"https://api.github.com/users/CodeVINCI/repos","events_url":"https://api.github.com/users/CodeVINCI/events{/privacy}","received_events_url":"https://api.github.com/users/CodeVINCI/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T00:00:57Z","updated_at":"2018-08-06T00:00:57Z","author_association":"NONE","body":"Check your python versions it should be python3.6 not any other."}}
{"actor":{"display_login":"CodeVINCI"}}