{"action":"created","issue":{"url":"https://api.github.com/repos/python-webuntis/python-webuntis/issues/18","repository_url":"https://api.github.com/repos/python-webuntis/python-webuntis","labels_url":"https://api.github.com/repos/python-webuntis/python-webuntis/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/python-webuntis/python-webuntis/issues/18/comments","events_url":"https://api.github.com/repos/python-webuntis/python-webuntis/issues/18/events","html_url":"https://github.com/python-webuntis/python-webuntis/issues/18","id":294136953,"number":18,"title":"Returns HTML Page content on login","user":{"login":"Jan200101","id":15076013,"avatar_url":"https://avatars2.githubusercontent.com/u/15076013?v=4","gravatar_id":"","url":"https://api.github.com/users/Jan200101","html_url":"https://github.com/Jan200101","followers_url":"https://api.github.com/users/Jan200101/followers","following_url":"https://api.github.com/users/Jan200101/following{/other_user}","gists_url":"https://api.github.com/users/Jan200101/gists{/gist_id}","starred_url":"https://api.github.com/users/Jan200101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jan200101/subscriptions","organizations_url":"https://api.github.com/users/Jan200101/orgs","repos_url":"https://api.github.com/users/Jan200101/repos","events_url":"https://api.github.com/users/Jan200101/events{/privacy}","received_events_url":"https://api.github.com/users/Jan200101/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-03T19:09:26Z","updated_at":"2018-02-03T20:35:07Z","closed_at":null,"author_association":"NONE","body":"When using this code\r\n\r\nimport webuntis\r\n\r\n`s = webuntis.Session(\r\n    server='arche.webuntis.com/WebUntis',\r\n    username=username,\r\n    password=password,\r\n    school='BK-Ostvest',\r\n    useragent='WebUntis Test'\r\n)`\r\n\r\nthis part runs just fine and the username, password, school and server are all valid\r\n`s.login()`\r\nbut running this just prints a the servers HTML content and does not log me in\r\n\r\nchecking the HTML content it prints it shows no sign of a login in the untis array\r\n\r\nI have tried doing the same with port 8080 too\r\nbut it just ends up with a \r\n`A connection attempt failed because the remote station did not respond properly after a certain amount of time, or the connection made failed because the connected host did not respond`"},"comment":{"url":"https://api.github.com/repos/python-webuntis/python-webuntis/issues/comments/362852126","html_url":"https://github.com/python-webuntis/python-webuntis/issues/18#issuecomment-362852126","issue_url":"https://api.github.com/repos/python-webuntis/python-webuntis/issues/18","id":362852126,"user":{"login":"Jan200101","id":15076013,"avatar_url":"https://avatars2.githubusercontent.com/u/15076013?v=4","gravatar_id":"","url":"https://api.github.com/users/Jan200101","html_url":"https://github.com/Jan200101","followers_url":"https://api.github.com/users/Jan200101/followers","following_url":"https://api.github.com/users/Jan200101/following{/other_user}","gists_url":"https://api.github.com/users/Jan200101/gists{/gist_id}","starred_url":"https://api.github.com/users/Jan200101/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jan200101/subscriptions","organizations_url":"https://api.github.com/users/Jan200101/orgs","repos_url":"https://api.github.com/users/Jan200101/repos","events_url":"https://api.github.com/users/Jan200101/events{/privacy}","received_events_url":"https://api.github.com/users/Jan200101/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T20:35:07Z","updated_at":"2018-02-03T20:35:07Z","author_association":"NONE","body":"No it does not.\r\nIt still returns the contents of a HTML page"}}
{"actor":{"display_login":"Jan200101"}}