{
  "version": "1.0.0",
  "exported_at": "2026-06-01T05:10:00.000Z",
  "project": {
    "name": "Amazon Details ASIN Scraper for germany",
    "description": "Scrapes Amazon.de product detail information from a known ASIN URL list using multi-URL navigation. Replace or extend the navigate.urls array with https://www.amazon.de/dp/{ASIN} URLs. Extracts title, brand, rating, reviews, price, variation info, availability, manufacturer, bullets, product information, description, dimensions, bestseller rank, first available date, up to 6 image URLs, and scrape time. Uses fileMode append across the ASIN URL loop. Best-effort: Amazon may show CAPTCHA, bot checks, cookie prompts, or regional layout variations.",
    "color": "bg-[#ff9900]",
    "template_id": "ai-generated"
  },
  "blocks": [
    {
      "block_id": "navigate-1",
      "block_type": "process",
      "title": "Navigate",
      "description": "Go to a URL",
      "position_x": 120,
      "position_y": 220,
      "config": {
        "urls": [
          "https://www.amazon.de/dp/B0B51XHL5G",
          "https://www.amazon.de/dp/B07H6W2HKW"
        ],
        "color": "bg-[#4589ff]",
        "tags": [
          "amazon.de",
          "asin-loop",
          "replace-urls"
        ]
      }
    },
    {
      "block_id": "wait-for-page-load-1",
      "block_type": "process",
      "title": "Wait for Page Load",
      "description": "Wait for page to finish loading",
      "position_x": 480,
      "position_y": 220,
      "config": {
        "timeout": 30
      }
    },
    {
      "block_id": "wait-for-element-1",
      "block_type": "process",
      "title": "Wait for Element",
      "description": "Wait until element appears",
      "position_x": 840,
      "position_y": 220,
      "config": {
        "selector": "body",
        "timeout": 30,
        "visible": true
      }
    },
    {
      "block_id": "sleep-1",
      "block_type": "process",
      "title": "Sleep",
      "description": "Wait for specified time",
      "position_x": 1200,
      "position_y": 220,
      "config": {
        "duration": 2
      }
    },
    {
      "block_id": "structured-export-1",
      "block_type": "process",
      "title": "Structured Export",
      "description": "Export data with custom columns",
      "position_x": 1560,
      "position_y": 220,
      "config": {
        "rowSelector": "body",
        "fileName": "amazon-details-asin-scraper-for-germany.csv",
        "saveLocation": "C:\\Users\\theskd\\Documents\\UScraper\\templates",
        "includeHeaders": true,
        "fileMode": "append",
        "columns": [
          {
            "name": "Titel",
            "selector": "#productTitle",
            "attribute": "text"
          },
          {
            "name": "Marke",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();const by=T((ROW.querySelector('#bylineInfo')||{}).innerText).replace(/^Besuche den\\s+/i,'').replace(/-Store$/i,'');if(by)return by;const want=['Marke','Brand'];const rows=Array.from(ROW.querySelectorAll('tr,#detailBullets_feature_div li'));for(const r of rows){let k=T((r.querySelector('th,.a-text-bold')||{}).innerText).replace(/[:：]/g,'');let v=T((r.querySelector('td')||{}).innerText)||T(r.innerText).replace(k,'');if(k&&want.some(w=>k.toLowerCase().includes(w.toLowerCase())))return v;}return '';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Kundenbewertung",
            "selector": "#acrPopover .a-icon-alt",
            "attribute": "text"
          },
          {
            "name": "Anzahl_der_Bewertungen",
            "selector": "#acrCustomerReviewText",
            "attribute": "text"
          },
          {
            "name": "Anzahl_der_beantworteten_Fragen",
            "selector": "#askATFLink, #askATFLink span",
            "attribute": "text"
          },
          {
            "name": "Preis",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();for(const s of ['#corePriceDisplay_desktop_feature_div .a-price .a-offscreen','#corePrice_feature_div .a-price .a-offscreen','#apex_desktop .a-price .a-offscreen','.a-price .a-offscreen','#priceblock_ourprice','#priceblock_dealprice','#price_inside_buybox']){const el=ROW.querySelector(s);const v=T(el&&el.textContent);if(v)return v;}return '';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Art",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();for(const s of ['#variation_style_name .selection','#variation_scent_name .selection','#variation_pattern_name .selection','#variation_size_name .selection','#variation_flavor_name .selection']){const v=T((ROW.querySelector(s)||{}).innerText);if(v)return v;}const want=['Art','Stil','Duft','Geschmack','Größe','Size'];const rows=Array.from(ROW.querySelectorAll('tr,#detailBullets_feature_div li'));for(const r of rows){let k=T((r.querySelector('th,.a-text-bold')||{}).innerText).replace(/[:：]/g,'');let v=T((r.querySelector('td')||{}).innerText)||T(r.innerText).replace(k,'');if(k&&want.some(w=>k.toLowerCase().includes(w.toLowerCase())))return v;}return '';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Farbe",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();const direct=T((ROW.querySelector('#variation_color_name .selection')||{}).innerText);if(direct)return direct;const want=['Farbe','Color','Colour'];const rows=Array.from(ROW.querySelectorAll('tr,#detailBullets_feature_div li'));for(const r of rows){let k=T((r.querySelector('th,.a-text-bold')||{}).innerText).replace(/[:：]/g,'');let v=T((r.querySelector('td')||{}).innerText)||T(r.innerText).replace(k,'');if(k&&want.some(w=>k.toLowerCase().includes(w.toLowerCase())))return v;}return '';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Bestand",
            "selector": "#availability span, #availability",
            "attribute": "text"
          },
          {
            "name": "Hersteller",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();const want=['Hersteller','Manufacturer','Kontakt zum Hersteller'];const rows=Array.from(ROW.querySelectorAll('tr,#detailBullets_feature_div li'));for(const r of rows){let k=T((r.querySelector('th,.a-text-bold')||{}).innerText).replace(/[:：]/g,'');let v=T((r.querySelector('td')||{}).innerText)||T(r.innerText).replace(k,'');if(k&&want.some(w=>k.toLowerCase().includes(w.toLowerCase())))return v;}return '';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Stichpunkte",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();const items=Array.from(ROW.querySelectorAll('#feature-bullets li')).map(li=>T(li.innerText)).filter(t=>t&&!/^Weitere Produktdetails/i.test(t));return items.join(' | ');})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Produkt_Information",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();const parts=[];for(const s of ['#productDetails_feature_div','#prodDetails','#detailBullets_feature_div','#detailBulletsWrapper_feature_div']){const el=ROW.querySelector(s);const v=T(el&&el.innerText);if(v&&!parts.includes(v))parts.push(v);}return parts.join(' | ');})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Produkt_Beschreibung",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();for(const s of ['#productDescription','#aplus','#aplus_feature_div']){const v=T((ROW.querySelector(s)||{}).innerText);if(v)return v;}return '';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Kapazität",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();for(const s of ['#variation_capacity_name .selection','#variation_size_name .selection']){const v=T((ROW.querySelector(s)||{}).innerText);if(v)return v;}const want=['Kapazität','Fassungsvermögen','Volumen','Capacity'];const rows=Array.from(ROW.querySelectorAll('tr,#detailBullets_feature_div li'));for(const r of rows){let k=T((r.querySelector('th,.a-text-bold')||{}).innerText).replace(/[:：]/g,'');let v=T((r.querySelector('td')||{}).innerText)||T(r.innerText).replace(k,'');if(k&&want.some(w=>k.toLowerCase().includes(w.toLowerCase())))return v;}return '';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Produkt_Dimensionen",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();const want=['Produktabmessungen','Produktabmessung','Abmessungen','Artikelmaße','Produkt-Dimensionen','Product Dimensions'];const rows=Array.from(ROW.querySelectorAll('tr,#detailBullets_feature_div li'));for(const r of rows){let k=T((r.querySelector('th,.a-text-bold')||{}).innerText).replace(/[:：]/g,'');let v=T((r.querySelector('td')||{}).innerText)||T(r.innerText).replace(k,'');if(k&&want.some(w=>k.toLowerCase().includes(w.toLowerCase())))return v;}return '';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Reihe_der_Bestseller",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();const want=['Amazon Bestseller-Rang','Bestseller-Rang','Best Sellers Rank'];const rows=Array.from(ROW.querySelectorAll('tr,#detailBullets_feature_div li'));for(const r of rows){let k=T((r.querySelector('th,.a-text-bold')||{}).innerText).replace(/[:：]/g,'');let v=T((r.querySelector('td')||{}).innerText)||T(r.innerText).replace(k,'');if(k&&want.some(w=>k.toLowerCase().includes(w.toLowerCase())))return v;}return '';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Datum_Erste_Verfügbar",
            "selector": "(function(){const T=s=>(s||'').replace(/\\s+/g,' ').trim();const want=['Im Angebot von Amazon.de seit','Datum der Erstveröffentlichung','Date First Available','Seit'];const rows=Array.from(ROW.querySelectorAll('tr,#detailBullets_feature_div li'));for(const r of rows){let k=T((r.querySelector('th,.a-text-bold')||{}).innerText).replace(/[:：]/g,'');let v=T((r.querySelector('td')||{}).innerText)||T(r.innerText).replace(k,'');if(k&&want.some(w=>k.toLowerCase().includes(w.toLowerCase())))return v;}return '';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Bild_URL_1",
            "selector": "(function(){const out=[];const add=u=>{if(u&&u.includes('m.media-amazon.com/images/I/')&&!out.includes(u))out.push(u)};ROW.querySelectorAll('#landingImage,#imgTagWrapperId img,#altImages img').forEach(img=>{add(img.getAttribute('data-old-hires'));const d=img.getAttribute('data-a-dynamic-image');if(d){try{Object.keys(JSON.parse(d)).forEach(add)}catch(e){}}add(img.currentSrc||img.src)});return out[0]||'';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Bild_URL_2",
            "selector": "(function(){const out=[];const add=u=>{if(u&&u.includes('m.media-amazon.com/images/I/')&&!out.includes(u))out.push(u)};ROW.querySelectorAll('#landingImage,#imgTagWrapperId img,#altImages img').forEach(img=>{add(img.getAttribute('data-old-hires'));const d=img.getAttribute('data-a-dynamic-image');if(d){try{Object.keys(JSON.parse(d)).forEach(add)}catch(e){}}add(img.currentSrc||img.src)});return out[1]||'';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Bild_URL_3",
            "selector": "(function(){const out=[];const add=u=>{if(u&&u.includes('m.media-amazon.com/images/I/')&&!out.includes(u))out.push(u)};ROW.querySelectorAll('#landingImage,#imgTagWrapperId img,#altImages img').forEach(img=>{add(img.getAttribute('data-old-hires'));const d=img.getAttribute('data-a-dynamic-image');if(d){try{Object.keys(JSON.parse(d)).forEach(add)}catch(e){}}add(img.currentSrc||img.src)});return out[2]||'';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Bild_URL_4",
            "selector": "(function(){const out=[];const add=u=>{if(u&&u.includes('m.media-amazon.com/images/I/')&&!out.includes(u))out.push(u)};ROW.querySelectorAll('#landingImage,#imgTagWrapperId img,#altImages img').forEach(img=>{add(img.getAttribute('data-old-hires'));const d=img.getAttribute('data-a-dynamic-image');if(d){try{Object.keys(JSON.parse(d)).forEach(add)}catch(e){}}add(img.currentSrc||img.src)});return out[3]||'';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Bild_URL_5",
            "selector": "(function(){const out=[];const add=u=>{if(u&&u.includes('m.media-amazon.com/images/I/')&&!out.includes(u))out.push(u)};ROW.querySelectorAll('#landingImage,#imgTagWrapperId img,#altImages img').forEach(img=>{add(img.getAttribute('data-old-hires'));const d=img.getAttribute('data-a-dynamic-image');if(d){try{Object.keys(JSON.parse(d)).forEach(add)}catch(e){}}add(img.currentSrc||img.src)});return out[4]||'';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Bild_URL_6",
            "selector": "(function(){const out=[];const add=u=>{if(u&&u.includes('m.media-amazon.com/images/I/')&&!out.includes(u))out.push(u)};ROW.querySelectorAll('#landingImage,#imgTagWrapperId img,#altImages img').forEach(img=>{add(img.getAttribute('data-old-hires'));const d=img.getAttribute('data-a-dynamic-image');if(d){try{Object.keys(JSON.parse(d)).forEach(add)}catch(e){}}add(img.currentSrc||img.src)});return out[5]||'';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "Aktuelle_Zeit",
            "selector": "new Date().toLocaleString('de-DE')",
            "attribute": "text",
            "isJs": true
          }
        ],
        "color": "bg-[#42be65]",
        "tags": [
          "structured-export",
          "amazon-product-details",
          "js-columns"
        ]
      }
    },
    {
      "block_id": "loop-continue-1",
      "block_type": "process",
      "title": "Loop Continue",
      "description": "Continue multi-input loop",
      "position_x": 1920,
      "position_y": 220,
      "config": {
        "color": "bg-[#ff832b]",
        "tags": [
          "asin-url-loop"
        ]
      }
    }
  ],
  "connections": [
    {
      "from_block_id": "navigate-1",
      "from_connector_id": "right",
      "to_block_id": "wait-for-page-load-1",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "wait-for-page-load-1",
      "from_connector_id": "right",
      "to_block_id": "wait-for-element-1",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "wait-for-element-1",
      "from_connector_id": "right",
      "to_block_id": "sleep-1",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "sleep-1",
      "from_connector_id": "right",
      "to_block_id": "structured-export-1",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "structured-export-1",
      "from_connector_id": "right",
      "to_block_id": "loop-continue-1",
      "to_connector_id": "left"
    }
  ],
  "canvas_elements": [
    {
      "id": "group-load",
      "element_type": "group",
      "title": "Page Load",
      "color": "#08bdba",
      "position_x": 48,
      "position_y": 116,
      "width": 1400,
      "height": 296,
      "z_index": 20,
      "data": {
        "memberBlockIds": [
          "navigate-1",
          "wait-for-page-load-1",
          "wait-for-element-1",
          "sleep-1"
        ]
      }
    },
    {
      "id": "group-extract",
      "element_type": "group",
      "title": "Data Extraction",
      "color": "#42be65",
      "position_x": 1488,
      "position_y": 116,
      "width": 380,
      "height": 296,
      "z_index": 20,
      "data": {
        "memberBlockIds": [
          "structured-export-1"
        ]
      }
    },
    {
      "id": "group-pagination",
      "element_type": "group",
      "title": "Pagination Loop",
      "color": "#ff832b",
      "position_x": 1848,
      "position_y": 116,
      "width": 380,
      "height": 296,
      "z_index": 20,
      "data": {
        "memberBlockIds": [
          "loop-continue-1"
        ]
      }
    },
    {
      "id": "note-overview",
      "element_type": "note",
      "title": "Overview",
      "content": "Scrapes Amazon.de product detail information from a known ASIN URL list using multi-URL navigation. Replace or extend the navigate.urls array with https://www.amazon.de/dp/{ASIN} URLs. Extracts title, brand, rating, reviews, price, variation info, availability, manufacturer, bullets, product information, description, dimensions, bestseller rank, first available date, up to 6 image URLs, and scrape time. Uses fileMode append across the ASIN URL loop. Best-effort: Amazon may show CAPTCHA, bot checks, cookie prompts, or regional layout variations.",
      "color": "#f1c21b",
      "position_x": 80,
      "position_y": 20,
      "width": 480,
      "height": 160,
      "z_index": 22,
      "data": {}
    },
    {
      "id": "note-block-navigate-1",
      "element_type": "note",
      "title": "Note: Navigate",
      "content": "Multi-URL loop over 2 pages. Pair with loop-continue at the end of each iteration.",
      "color": "#ee5396",
      "position_x": 320,
      "position_y": 200,
      "width": 328,
      "height": 107,
      "z_index": 22,
      "data": {
        "block_id": "navigate-1"
      }
    },
    {
      "id": "note-block-structured-export-1",
      "element_type": "note",
      "title": "Note: Structured Export",
      "content": "Structured export with JS columns (Marke, Preis, Art, Farbe, Hersteller). These selectors are fragile — update if the site layout changes.",
      "color": "#ee5396",
      "position_x": 1760,
      "position_y": 200,
      "width": 340,
      "height": 126,
      "z_index": 22,
      "data": {
        "block_id": "structured-export-1"
      }
    },
    {
      "id": "note-block-loop-continue-1",
      "element_type": "note",
      "title": "Note: Loop Continue",
      "content": "Loop Continue advances a multi-URL or multi-text loop. Place at the end of the loop body with a clear back-edge to the loop start.",
      "color": "#ee5396",
      "position_x": 2120,
      "position_y": 200,
      "width": 340,
      "height": 123,
      "z_index": 22,
      "data": {
        "block_id": "loop-continue-1"
      }
    }
  ]
}