ajout(main.py): ajout fonction soup

This commit is contained in:
2026-01-28 18:03:38 +01:00
parent 09f124969e
commit 993246f485

View File

@@ -1,2 +1,7 @@
from bs4 import BeautifulSoup
import requests as rq
def getsoup(s: str) -> BeautifulSoup:
return BeautifulSoup(rq.get(s).text, 'html.parser')
soup = getsoup("https://www.millesima.fr/")