ajout: ajout fonction json

This commit is contained in:
2026-02-04 21:01:48 +01:00
parent e6b04fc740
commit 469a351f2a
2 changed files with 20 additions and 48 deletions

View File

@@ -1,4 +1,6 @@
from main import *
scraper = Scraper()
def test_soup():
assert getsoup("https://example.com").find('h1').text == "Example Domain"
assert scraper.getsoup().find('h1').text[3:12] == "MILLESIMA"