mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-14 12:58:46 +02:00
lint: Format changes
This commit is contained in:
parent
534a9ca809
commit
de689f164a
@ -1,4 +1,5 @@
|
||||
"""Unternehmensregister Scraping."""
|
||||
# ruff: noqa: B023
|
||||
import glob
|
||||
import multiprocessing
|
||||
import os
|
||||
@ -105,7 +106,9 @@ def scrape(query: str, download_dir: list[str]) -> None:
|
||||
driver.find_element(By.CLASS_NAME, "download-wrapper").click()
|
||||
|
||||
try:
|
||||
wait.until(lambda: wait_for_download_condition(download_path, num_files))
|
||||
wait.until(
|
||||
lambda: wait_for_download_condition(download_path, num_files)
|
||||
)
|
||||
file_name = "".join(e for e in company_name if e.isalnum()) + ".xml"
|
||||
rename_latest_file(
|
||||
download_path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user