Use better parameter value parsing for pollin and reichelt parameters

This commit is contained in:
Jan Böhmer 2025-02-20 19:43:46 +01:00
parent 8d9dde0032
commit a9bd4c5606
2 changed files with 3 additions and 3 deletions

View file

@ -256,7 +256,7 @@ class ReicheltProvider implements InfoProviderInterface
//Iterate over each second li in ul.articleAttribute, which contains the specifications
$groupElement->filter('ul.articleAttribute li:nth-child(2n)')->each(function (Crawler $specElement) use (&$parameters, $groupName) {
$parameters[] = ParameterDTO::parseValueField(
$parameters[] = ParameterDTO::parseValueIncludingUnit(
name: $specElement->previousAll()->text(),
value: $specElement->text(),
group: $groupName