This commit is contained in:
Mylloon 2022-01-13 21:23:22 +01:00
parent 99da471b19
commit da93eead19
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,7 +1,6 @@
from sys import argv
from requests import Session
from bs4 import BeautifulSoup
from requests.models import Response
class Universite:
def __init__(self, url, pseudo, motDePasse):
@ -12,12 +11,12 @@ class Universite:
"_eventId": "submit",
"submit": "SE CONNECTER"
}
def maSoupe(self, page):
return BeautifulSoup(page.content, "html.parser")
""" def ecrirePageHTML(self, texte): # Utilisé pour du DEBUG
with open("page.html", "w") as f:
with open("page.html", "w") as f:
f.write(texte) """
def recuperationNotes(self):