Use Graby's http headers configuration for the authentication request

This commit is contained in:
Adrien ERAUD
2025-02-18 11:49:46 +01:00
parent b905a2c856
commit d58549472c
5 changed files with 96 additions and 1 deletions

View File

@ -85,6 +85,7 @@ class GrabySiteConfigBuilder implements SiteConfigBuilder
'notLoggedInXpath' => $config->not_logged_in_xpath ?: null,
'username' => $credentials['username'],
'password' => $credentials['password'],
'httpHeaders' => $config->http_header,
];
$config = new SiteConfig($parameters);