Update cdl_downloader/__main__.py
All checks were successful
Analyze code and publish script / Analyze code (push) Successful in 10s
Analyze code and publish script / Publish script (push) Successful in 18s

This commit is contained in:
2026-02-03 23:26:01 +01:00
Unverified
parent 07e44929d4
commit 7889baaf1d

View File

@@ -24,7 +24,6 @@ args = parser.parse_args()
id = str(uuid.uuid1())
directory = os.path.join(args.path, id)
options = Options()
if (args.headless):
options.add_argument("--headless")
@@ -35,7 +34,6 @@ options.add_experimental_option("prefs", {"download.default_directory": director
'download.prompt_for_download': False,
'plugins.always_open_pdf_externally': True})
driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=options)
driver.get("https://ewyniki.cdl.pl/kl322-n/index.php?page=logowanie&barcodeLogin=true")