bain3 / pronotepy

A python API wrapper for pronote
MIT License
187 stars 52 forks source link

ent HDF #297

Open Aldarande opened 4 months ago

Aldarande commented 4 months ago

HI all,

I have issue when i try to connect to ent_hdf. login : t.counen1 url : https://0623014p.index-education.net/pronote/parent.html?login=true ent : ent_hdf

PLease find the log, i have :

[ENT https://enthdf.fr] Logging in with t.counen1
 Starting new HTTPS connection (1): educonnect.education.gouv.fr:443
 https://educonnect.education.gouv.fr:443 "GET /idp/profile/SAML2/Unsolicited/SSO?providerId=https%3A%2F%2Fenthdf.fr%2Fauth%2Fsaml%2Fmetadata%2Fidp.xml HTTP/1.1" 302 0
 https://educonnect.education.gouv.fr:443 "GET /idp/profile/SAML2/Unsolicited/SSO?execution=e1s1 HTTP/1.1" 200 20871
 [EduConnect https://educonnect.education.gouv.fr/idp/profile/SAML2/Unsolicited/SSO?execution=e1s1] Logging in with t.counen1
 https://educonnect.education.gouv.fr:443 "POST /idp/profile/SAML2/Unsolicited/SSO?execution=e1s1 HTTP/1.1" 200 None
 Starting new HTTPS connection (1): enthdf.fr:443
 https://enthdf.fr:443 "POST /auth/saml/acs HTTP/1.1" 200 None
 Requesing html: https://0623014p.index-education.net/pronote
 Starting new HTTPS connection (1): 0623014p.index-education.net:443
 https://0623014p.index-education.net:443 "GET /pronote HTTP/1.1" 301 171
 https://0623014p.index-education.net:443 "GET /pronote/ HTTP/1.1" 302 165
 Starting new HTTPS connection (1): enthdf.fr:443
 https://enthdf.fr:443 "GET /cas/login?service=https:%2F%2F0623014P.index-education.net%2Fpronote%2F HTTP/1.1" 302 0
 Starting new HTTPS connection (1): connexion.enthdf.fr:443
 https://connexion.enthdf.fr:443 "GET /?callback=https%3A%2F%2Fenthdf.fr%2Fcas%2Flogin%3Fservice%3Dhttps%253A%252F%252F0623014P.index-education.net%252Fpronote%252F HTTP/1.1" 200 None
Page html is different than expected. Be sure that pronote_url is the direct url to your pronote page.

If you ask, i'm sure about password

Aldarande commented 4 months ago

@Bapt5 Could you help us ?

Bapt5 commented 4 months ago

I'm gonna try to fix that soon