Update cdl_downloader/__main__.py
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user