ajout: modification dependances et ajout documentation

This commit is contained in:
2026-03-01 20:37:16 +01:00
parent 0f6eb856c6
commit a163e7687f
6 changed files with 56 additions and 34 deletions

View File

@@ -331,7 +331,7 @@ class Scraper:
except (JSONDecodeError, HTTPError):
return None
def getvins(self, subdir: str, filename: str) -> None:
def getvins(self, subdir: str, filename: str, reset: bool) -> None:
"""_summary_
Args:
@@ -375,7 +375,7 @@ def main() -> None:
if len(argv) != 2:
raise ValueError(f"{argv[0]} <sous-url>")
scraper: Scraper = Scraper()
scraper.getvins(argv[1], "donnee.csv")
scraper.getvins(argv[1], "donnee.csv", False)
if __name__ == "__main__":