mirror of
https://github.com/guezoloic/millesima_projetS6.git
synced 2026-03-28 19:13:42 +00:00
ajout: modification dependances et ajout documentation
This commit is contained in:
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user