diff --git a/loginin.py b/loginin.py index 41a6651..bbaa872 100644 --- a/loginin.py +++ b/loginin.py @@ -74,7 +74,9 @@ def showof(self): def on_login(self): self.data["DDDDD"] = ",0," + self.schoolid + "@" + self.opelist[self.operator] self.data['upass'] = self.pas - response = requests.post(self.url, self.data, self.header) + proxies = {'http': None, + 'https': None} + response = requests.post(self.url, self.data, self.header, proxies=proxies) rt = response.status_code print(response.url) if response.url in self.warningmess: