File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Services/InfoProviderSystem/Providers Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,8 @@ private function parseProductPage(string $content): PartDetailDTO
158158 category: $ this ->parseCategory ($ dom ),
159159 manufacturer: $ dom ->filter ('meta[property="product:brand"] ' )->count () > 0 ? $ dom ->filter ('meta[property="product:brand"] ' )->attr ('content ' ) : null ,
160160 preview_image_url: $ dom ->filter ('meta[property="og:image"] ' )->attr ('content ' ),
161- manufacturing_status: $ this ->mapAvailability ($ dom ->filter ('link[itemprop="availability"] ' )->attr ('href ' )),
161+ //TODO: Find another way to determine the manufacturing status, as the itemprop="availability" is often is not existing anymore in the page
162+ //manufacturing_status: $this->mapAvailability($dom->filter('link[itemprop="availability"]')->attr('href')),
162163 provider_url: $ productPageUrl ,
163164 notes: $ this ->parseNotes ($ dom ),
164165 datasheets: $ this ->parseDatasheets ($ dom ),
You can’t perform that action at this time.
0 commit comments