Add debug logging for platform image URL detection
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5f2c9f4df9
commit
af1e252f1b
1 changed files with 3 additions and 0 deletions
|
|
@ -1713,6 +1713,9 @@
|
||||||
|
|
||||||
// Fetch images from ordering platform (stealth Playwright)
|
// Fetch images from ordering platform (stealth Playwright)
|
||||||
const platformUrl = (config.platformPages || [])[0] || '';
|
const platformUrl = (config.platformPages || [])[0] || '';
|
||||||
|
console.log('Platform pages from discovery:', config.platformPages);
|
||||||
|
console.log('Platform URL for images:', platformUrl);
|
||||||
|
console.log('Total items to match:', allItems.length);
|
||||||
let platformImageMap = {};
|
let platformImageMap = {};
|
||||||
if (platformUrl && allItems.length > 0) {
|
if (platformUrl && allItems.length > 0) {
|
||||||
document.getElementById('conversation').innerHTML = '';
|
document.getElementById('conversation').innerHTML = '';
|
||||||
|
|
|
||||||
Reference in a new issue