debug(pl24): TEMP Hyundai/Kia raw HTML row log (katalogJob Faz 2 upstream doğrulama)

This commit is contained in:
2026-07-05 09:51:46 +03:00
parent 4b6642a78a
commit 05951f9853

View File

@@ -3633,6 +3633,17 @@ export class PL24FordLegacyService {
const groups: PL24DecodedCategory[] = [];
const seen = new Set<string>();
// TEMP DEBUG (katalogJob Faz 2): dump raw Hyundai/Kia illustration-listing
// HTML to see whether the row carries a description next to the figure code.
if (/hyundai|kia/i.test(serviceName)) {
const rows = html
.split(/<tr\s/)
.filter((s) => s.includes("tc-data-row"))
.slice(0, 6)
.map((s) => s.replace(/\s+/g, " ").slice(0, 400));
this.logger.warn(`[hyundai-debug] ${serviceName} rows: ${JSON.stringify(rows)}`);
}
const config = getServiceConfig(serviceName);
const basePath = config ? `${config.basePath}/${serviceName}` : `/ford/${serviceName}`;