{"action":"created","issue":{"url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/2133","repository_url":"https://api.github.com/repos/timgrossmann/InstaPy","labels_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/2133/labels{/name}","comments_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/2133/comments","events_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/2133/events","html_url":"https://github.com/timgrossmann/InstaPy/issues/2133","id":328000005,"node_id":"MDU6SXNzdWUzMjgwMDAwMDU=","number":2133,"title":"Looks Like IG Change - Cannot Creating Cookies : Win10 & Ubuntu 16.04 (New Account)","user":{"login":"solehpolysas","id":16600550,"node_id":"MDQ6VXNlcjE2NjAwNTUw","avatar_url":"https://avatars3.githubusercontent.com/u/16600550?v=4","gravatar_id":"","url":"https://api.github.com/users/solehpolysas","html_url":"https://github.com/solehpolysas","followers_url":"https://api.github.com/users/solehpolysas/followers","following_url":"https://api.github.com/users/solehpolysas/following{/other_user}","gists_url":"https://api.github.com/users/solehpolysas/gists{/gist_id}","starred_url":"https://api.github.com/users/solehpolysas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solehpolysas/subscriptions","organizations_url":"https://api.github.com/users/solehpolysas/orgs","repos_url":"https://api.github.com/users/solehpolysas/repos","events_url":"https://api.github.com/users/solehpolysas/events{/privacy}","received_events_url":"https://api.github.com/users/solehpolysas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-05-31T05:34:06Z","updated_at":"2018-06-01T01:13:13Z","closed_at":"2018-06-01T01:13:13Z","author_association":"NONE","body":"<!-- Is this a Feature Request ? Please, check out our Wiki first https://github.com/timgrossmann/InstaPy/wiki -->\r\n## Expected Behavior\r\nShould be working & creating new cookies for new account in the System.\r\n## Current Behavior\r\nError when creating cookies. Stuck at login page, not login anymore.\r\n`Traceback (most recent call last):\r\n  File \"quickstart.py\", line 20, in <module>\r\n    session.login()\r\n  File \"C:\\Users\\admin\\Desktop\\Tools\\Backup InstaPy\\InstaPy-master\\instapy\\instapy.py\", line 322, in login\r\n    self.bypass_suspicious_attempt):\r\n  File \"C:\\Users\\admin\\Desktop\\Tools\\Backup InstaPy\\InstaPy-master\\instapy\\login_util.py\", line 136, in login_user\r\n    \"//select[@class='_fsoey']/option[text()='English']\").click()\r\n  File \"C:\\Users\\admin\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\", line 385, in find_element_by_xpath\r\n    return self.find_element(by=By.XPATH, value=xpath)\r\n  File \"C:\\Users\\admin\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\", line 955, in find_element\r\n    'value': value})['value']\r\n  File \"C:\\Users\\admin\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\", line 312, in execute\r\n    self.error_handler.check_response(response)\r\n  File \"C:\\Users\\admin\\AppData\\Local\\Programs\\Python\\Python36\\lib\\site-packages\\selenium\\webdriver\\remote\\errorhandler.py\", line 242, in check_response\r\n    raise exception_class(message, screen, stacktrace)\r\nselenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//select[@class='_fsoey']/option[text()='English']\"}\r\n  (Session info: chrome=66.0.3359.181)\r\n  (Driver info: chromedriver=2.39.562718 (9a2698cba08cf5a471a29d30c8b3e12becabb0e9),platform=Windows NT 10.0.16299 x86_64)`\r\n\r\n## InstaPy configuration\r\nBasic quickstart, just need to creating cookies, but FAIL.\r\n\r\n[20180531-132628.zip](https://github.com/timgrossmann/InstaPy/files/2056794/20180531-132628.zip)\r\n\r\nAnyone facing the same issue?\r\nIf you already have cookies, i dont think you will get this error.\r\n\r\nBut if you change or delete cookies or use new account, this error will come.\r\nSomeone please verify this.\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/comments/393729103","html_url":"https://github.com/timgrossmann/InstaPy/issues/2133#issuecomment-393729103","issue_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/2133","id":393729103,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzcyOTEwMw==","user":{"login":"solehpolysas","id":16600550,"node_id":"MDQ6VXNlcjE2NjAwNTUw","avatar_url":"https://avatars3.githubusercontent.com/u/16600550?v=4","gravatar_id":"","url":"https://api.github.com/users/solehpolysas","html_url":"https://github.com/solehpolysas","followers_url":"https://api.github.com/users/solehpolysas/followers","following_url":"https://api.github.com/users/solehpolysas/following{/other_user}","gists_url":"https://api.github.com/users/solehpolysas/gists{/gist_id}","starred_url":"https://api.github.com/users/solehpolysas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solehpolysas/subscriptions","organizations_url":"https://api.github.com/users/solehpolysas/orgs","repos_url":"https://api.github.com/users/solehpolysas/repos","events_url":"https://api.github.com/users/solehpolysas/events{/privacy}","received_events_url":"https://api.github.com/users/solehpolysas/received_events","type":"User","site_admin":false},"created_at":"2018-06-01T01:13:13Z","updated_at":"2018-06-01T01:13:13Z","author_association":"NONE","body":"Just like @mrboomer suggest, yes new class element fix login.\r\nThank to @bvanhou for open PR #2137 \r\n\r\n@Gallo87 please check new open PR for this creating cookies also check PR about #2136 \r\n\r\nHope all this fix will merge soon after check & verified.\r\nIm closing this & feel free to open if having any further issue related."}}
{"actor":{"display_login":"solehpolysas"}}