cleanup
This commit is contained in:
parent
99da471b19
commit
da93eead19
1 changed files with 2 additions and 3 deletions
5
main.py
5
main.py
|
@ -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):
|
||||
|
|
Reference in a new issue