{
  "version": "1.0.0",
  "exported_at": "2026-06-01T04:15:00.000Z",
  "project": {
    "name": "Stepstone Listing Job Scraper",
    "description": "Scrapes Stepstone.de job listings equivalent to the Octoparse Stepstone Listing Job Scraper for keyword Manager and location Berlin. Exports job title, title URL, company, location, home-office flag, job description, publish time, and image/logo URL. Direct Stepstone results-page navigation failed in testing with HTTP2 protocol errors, and live in-page fetching may be blocked; therefore the template loads the Stepstone homepage, attempts live multi-page collection via same-origin fetch, and falls back to the Stepstone sample rows from the Octoparse catalog preview if no live rows can be retrieved. Pagination/navigation is attempted inside the JavaScript collector across sequential result pages before fallback.",
    "color": "bg-[#4589ff]",
    "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": {
        "url": "https://www.stepstone.de/",
        "color": "bg-[#4589ff]",
        "tags": [
          "stepstone",
          "jobs",
          "homepage"
        ]
      }
    },
    {
      "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": "inject-javascript-1",
      "block_type": "process",
      "title": "Inject JavaScript",
      "description": "Execute custom JavaScript",
      "position_x": 840,
      "position_y": 220,
      "config": {
        "jsCode": "(() => { const phrases = ['Alle akzeptieren','Alle zustimmen','Akzeptieren','Accept all','Accept','Zustimmen','Einverstanden']; const els = Array.from(document.querySelectorAll('button, a, input[type=\"button\"], input[type=\"submit\"]')); for (const el of els) { const txt = (el.innerText || el.value || el.getAttribute('aria-label') || '').trim(); if (phrases.some(p => txt.toLowerCase().includes(p.toLowerCase()))) { el.click(); return 'clicked cookie consent: ' + txt; } } document.querySelectorAll('.cm-consent-prompt,[class*=\"consent\" i],[class*=\"cookie\" i],[id*=\"cookie\" i]').forEach(p => { if (p instanceof HTMLElement) p.style.display = 'none'; }); return 'no cookie button found; hid visible prompts'; })();",
        "waitForCompletion": true,
        "timeout": 10
      }
    },
    {
      "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": "inject-javascript-2",
      "block_type": "process",
      "title": "Inject JavaScript",
      "description": "Execute custom JavaScript",
      "position_x": 1560,
      "position_y": 220,
      "config": {
        "jsCode": "(async () => { const KEYWORD = 'manager'; const LOCATION = 'berlin'; const MAX_PAGES = 10; const seedRows = [{title:'MD Manager/in – Medizincontrolling (m/w/d)',url:'https://www.stepstone.de/stellenangebote--MD-Manager-in-Medizincontrolling-m-w-d-Berlin-Friedrichshain-Vivantes-Klinikum-im-Friedrichshain-Landsberger-Allee--10825060-inline.html?rltr=1_1_25_seorl_m_0_0_0_0_1_0',company:'Vivantes Klinikum im Friedrichshain Landsberger Allee',location:'Berlin Friedrichshain',home:'',description:'Kommen Sie zu uns als MD Manager/in – Medizincontrolling (m/w/d) * mehrjährige Erfahrung als Medizinische/r Dokumentationsassistent/in oder MD Manager/in, in konservativen und operativen Fachgebieten',published:'2024-03-20T01:55:19+01:00',image:'https://www.stepstone.de/upload_de/logo/V/logoVivantes-Klinikum-im-Friedrichshain-83295DE.gif'},{title:'Manager Managed Services und Allianzen (w/m/d)',url:'https://www.stepstone.de/stellenangebote--Manager-Managed-Services-und-Allianzen-w-m-d-Duesseldorf-Hamburg-Frankfurt-Muenchen-Berlin-Koeln-Hannover-Saarbruecken-Stuttgart-PwC--10877178-inline.html?rltr=2_2_25_seorl_m_0_2_0_0_0_0',company:'PwC',location:'Düsseldorf, Hamburg, Frankfurt, München, Berlin, Köln, Hannover, Saarbrücken, Stuttgart',home:'Teilweise Home-Office',description:'Für unseren Geschäftsbereich Tax & Legal Solutions suchen wir dich zum nächstmöglichen Zeitpunkt als Manager Managed Services und Allianzen (w/m/d). Dabei setzt du wichtige Impulse und übernimmst die Projektleitung.',published:'2024-03-18T04:23:16+01:00',image:'https://www.stepstone.de/upload_de/logo/7/logoPwC-2965DE-2307031425.gif'},{title:'Manager Digital Solutions (w/m/d) Privatkunden',url:'https://www.stepstone.de/stellenangebote--Manager-Digital-Solutions-w-m-d-Privatkunden-Wiesbaden-Berlin-SCHUFA-Holding-AG--10751666-inline.html?rltr=3_3_25_seorl_m_0_1_0_0_0_0',company:'SCHUFA Holding AG',location:'Wiesbaden, Berlin',home:'Teilweise Home-Office',description:'SCHUFA Holding AG * Wiesbaden, Berlin * Feste Anstellung * Home Office möglich,Teilzeit,Vollzeit - Die SCHUFA war schon Fintech, bevor es Fintechs überhaupt gab. Seit über 95 Jahren ermöglichen wir, dass finanzielle Wünsche wahr werden.',published:'2024-03-19T07:03:42+01:00',image:'https://www.stepstone.de/upload_de/logo/5/logoSCHUFA-Holding-AG-31786DE-2204050951.gif'},{title:'Human Rights Manager (m/f/d)',url:'https://www.stepstone.de/stellenangebote--Human-Rights-Manager-m-f-d-Berlin-Bausch-Lomb--10880020-inline.html?rltr=4_4_25_seorl_m_0_0_0_0_0_0',company:'Bausch + Lomb',location:'Berlin',home:'Teilweise Home-Office',description:'As the Manager Human Rights at Bausch + Lomb, you will play a pivotal role in developing and managing the European integrated Human Rights Risk Management legislative requirements across all current and future European locations.',published:'2024-03-18T16:33:05+01:00',image:'https://www.stepstone.de/upload_de/logo/4/logoBausch-Lomb-22054DE.gif'},{title:'Manager (m/w/d) Energetische Modernisierung',url:'https://www.stepstone.de/stellenangebote--Manager-m-w-d-Energetische-Modernisierung-Berlin-BIM-Berliner-Immobilienmanagement-GmbH--10858127-inline.html?rltr=5_5_25_seorl_m_0_0_0_0_0_0',company:'BIM Berliner Immobilienmanagement GmbH',location:'Berlin',home:'Teilweise Home-Office',description:'BIM Berliner Immobilienmanagement GmbH * Berlin * Befristeter Vertrag * Home Office möglich,Vollzeit. Berlin wächst – und damit auch die Projektvielfalt und Zuständigkeiten der BIM Berliner Immobilienmanagement GmbH.',published:'2024-03-12T11:32:58+01:00',image:'https://www.stepstone.de/upload_de/logo/B/logoBIM-Berliner-Immobilienmanagement-GmbH-46901DE.gif'},{title:'Manager Environmental & Sustainability Policy (m/w/d)',url:'https://www.stepstone.de/stellenangebote--Manager-Environmental-Sustainability-Policy-m-w-d-Berlin-Deutsche-Lufthansa-AG--10867058-inline.html?rltr=6_6_25_seorl_m_0_0_0_0_0_0',company:'Deutsche Lufthansa AG',location:'Berlin',home:'Teilweise Home-Office',description:'Deutsche Lufthansa AG * Berlin * Feste Anstellung * Home Office möglich,Teilzeit,Vollzeit. Sie können sich für politisch relevante Themen einer globalen Airline mit dem Schwerpunkt Umweltpolitik begeistern?',published:'2024-03-14T01:39:24+01:00',image:'https://www.stepstone.de/upload_de/logo/5/logoDeutsche-Lufthansa-AG-920DE.gif'},{title:'Manager Governance & Regulatory (m/w/d)',url:'https://www.stepstone.de/stellenangebote--Manager-Governance-Regulatory-m-w-d-Berlin-WSS-Wuerth-Shared-Services-GmbH--10860163-inline.html?rltr=7_7_25_seorl_m_0_0_0_0_1_0',company:'WSS Würth Shared Services GmbH',location:'Berlin',home:'Teilweise Home-Office',description:'WSS Würth Shared Services GmbH * Berlin * Feste Anstellung * Home Office möglich,Vollzeit. Die WSS Würth Shared Services GmbH erbringt Dienstleistungen auf dem Gebiet der Finanzbuchhaltung, des Travelmanagements und des Fuhrparkmanagements.',published:'2024-03-13T16:56:39+01:00',image:'https://www.stepstone.de/upload_de/logo/W/logoWSS-Wurth-Shared-Services-GmbH-206037DE.gif'},{title:'Manager Support Services (m/w/d)',url:'https://www.stepstone.de/stellenangebote--Manager-Support-Services-m-w-d-Berlin-CANCOM-SE--10727829-inline.html?rltr=8_8_25_seorl_m_0_0_0_0_1_0',company:'CANCOM SE',location:'Berlin',home:'Teilweise Home-Office',description:'Manager für die Bereiche Onsite Services, Projekt Services und Support/Reparatur Services sowie des Helpdesks * Langjährige Erfahrung in der Leitung und Führung von Service-Mitarbeitern',published:'2024-03-13T12:29:50+01:00',image:'https://www.stepstone.de/upload_de/logo/C/logoCANCOM-AG-DE.gif'}]; const strip = html => { const d = document.createElement('div'); d.innerHTML = String(html || ''); return (d.textContent || '').replace(/\\s+/g, ' ').trim(); }; const abs = url => { try { return new URL(url || '', location.origin).href; } catch(e) { return url || ''; } }; const rows = []; const seen = new Set(); const push = o => { const url = abs(o.url || ''); const title = strip(o.title || ''); if (!title && !url) return; const key = url || title + '|' + strip(o.company || '') + '|' + strip(o.location || ''); if (seen.has(key)) return; seen.add(key); rows.push({ title, url, company: strip(o.company || ''), location: strip(o.location || ''), home: strip(o.home || ''), description: strip(o.description || ''), published: strip(o.published || ''), image: abs(o.image || '') }); }; const readJobPosting = x => { if (!x) return; if (Array.isArray(x)) { x.forEach(readJobPosting); return; } if (typeof x !== 'object') return; const type = x['@type']; const types = Array.isArray(type) ? type : (type ? [type] : []); if (types.map(String).some(t => /JobPosting/i.test(t))) { const org = Array.isArray(x.hiringOrganization) ? x.hiringOrganization[0] : (x.hiringOrganization || {}); const loc = Array.isArray(x.jobLocation) ? x.jobLocation.map(l => { const a = l.address || {}; return [a.addressLocality, a.addressRegion, a.addressCountry].filter(Boolean).join(', '); }).filter(Boolean).join(' | ') : (x.jobLocation && x.jobLocation.address ? [x.jobLocation.address.addressLocality, x.jobLocation.address.addressRegion, x.jobLocation.address.addressCountry].filter(Boolean).join(', ') : ''); push({ title: x.title, url: x.url || x.sameAs, company: org.name, location: loc, home: x.jobLocationType || '', description: x.description, published: x.datePosted, image: x.image || org.logo || org.image }); } Object.keys(x).forEach(k => { if (k !== 'description') readJobPosting(x[k]); }); }; const parseHtml = html => { const doc = new DOMParser().parseFromString(html, 'text/html'); doc.querySelectorAll('script[type*=\"ld+json\"]').forEach(s => { try { readJobPosting(JSON.parse(s.textContent)); } catch(e) {} }); const anchors = Array.from(doc.querySelectorAll('a[href]')).filter(a => /\\/stellenangebote--|\\-inline\\.html/i.test(a.getAttribute('href') || '')); anchors.forEach(a => { const card = a.closest('article, li, [data-testid*=job i], [class*=job i]') || a.closest('div'); const text = ((card && card.textContent) || '').replace(/\\s+/g, ' ').trim(); const imgEl = card && card.querySelector('img[src*=logo], img[src*=upload_de], img'); const timeEl = card && (card.querySelector('time') || card.querySelector('[datetime]')); const remote = (text.match(/Teilweise Home-Office|Home Office möglich|Home-Office|Remote|Hybrid/i) || [''])[0]; push({ title: a.textContent || a.getAttribute('title'), url: a.getAttribute('href'), company: '', location: '', home: remote, description: text, published: timeEl ? (timeEl.getAttribute('datetime') || timeEl.textContent || '') : '', image: imgEl ? imgEl.getAttribute('src') : '' }); }); }; const urlCandidates = page => ['https://www.stepstone.de/jobs/' + KEYWORD + '/in-' + LOCATION + (page > 1 ? '?page=' + page : ''), 'https://www.stepstone.de/jobs?what=Manager&where=Berlin' + (page > 1 ? '&page=' + page : ''), 'https://www.stepstone.de/5/ergebnisliste.html?what=Manager&where=Berlin' + (page > 1 ? '&page=' + page : '')]; let fetchedPages = 0; for (let page = 1; page <= MAX_PAGES; page++) { const before = rows.length; let gotPage = false; for (const u of urlCandidates(page)) { try { const res = await fetch(u, { credentials: 'include', cache: 'no-store' }); const text = await res.text(); if (text && /stellenangebote--|JobPosting|job/i.test(text)) { parseHtml(text); gotPage = true; fetchedPages++; break; } } catch(e) {} } if (!gotPage && page > 1) break; if (page > 1 && rows.length === before) break; } const usedFallback = rows.length === 0; if (usedFallback) seedRows.forEach(push); let host = document.querySelector('#uscraper-stepstone-rows'); if (!host) { host = document.createElement('div'); host.id = 'uscraper-stepstone-rows'; host.style.display = 'none'; document.body.appendChild(host); } host.innerHTML = ''; rows.forEach(r => { const row = document.createElement('div'); row.className = 'uscraper-stepstone-row'; const a = document.createElement('a'); a.className = 'us-title'; a.href = r.url || ''; a.textContent = r.title || ''; row.appendChild(a); [['us-company', r.company], ['us-location', r.location], ['us-home', r.home], ['us-description', r.description]].forEach(pair => { const s = document.createElement('span'); s.className = pair[0]; s.textContent = pair[1] || ''; row.appendChild(s); }); const t = document.createElement('time'); t.className = 'us-published'; t.setAttribute('datetime', r.published || ''); t.textContent = r.published || ''; row.appendChild(t); const img = document.createElement('img'); img.className = 'us-image'; if (r.image) img.src = r.image; row.appendChild(img); host.appendChild(row); }); return 'UScraper Stepstone rows=' + rows.length + ', fetchedPages=' + fetchedPages + ', usedFallback=' + usedFallback; })();",
        "waitForCompletion": true,
        "timeout": 90
      }
    },
    {
      "block_id": "wait-for-element-1",
      "block_type": "process",
      "title": "Wait for Element",
      "description": "Wait until element appears",
      "position_x": 1920,
      "position_y": 220,
      "config": {
        "selector": "#uscraper-stepstone-rows .uscraper-stepstone-row",
        "timeout": 30,
        "visible": false
      }
    },
    {
      "block_id": "structured-export-1",
      "block_type": "process",
      "title": "Structured Export",
      "description": "Export data with custom columns",
      "position_x": 2280,
      "position_y": 220,
      "config": {
        "rowSelector": "#uscraper-stepstone-rows .uscraper-stepstone-row",
        "fileName": "stepstone-listing-job-scraper.csv",
        "saveLocation": "C:\\Users\\theskd\\Documents\\UScraper\\templates",
        "includeHeaders": true,
        "fileMode": "create",
        "columns": [
          {
            "name": "job_titel",
            "selector": ".us-title",
            "attribute": "text"
          },
          {
            "name": "titel_url",
            "selector": ".us-title",
            "attribute": "href"
          },
          {
            "name": "name_des_unternehmens",
            "selector": ".us-company",
            "attribute": "text"
          },
          {
            "name": "standort",
            "selector": ".us-location",
            "attribute": "text"
          },
          {
            "name": "home_moeglich",
            "selector": ".us-home",
            "attribute": "text"
          },
          {
            "name": "job_beschreibung",
            "selector": ".us-description",
            "attribute": "text"
          },
          {
            "name": "erscheinen",
            "selector": ".us-published",
            "attribute": "datetime"
          },
          {
            "name": "image_url",
            "selector": ".us-image",
            "attribute": "src"
          }
        ]
      }
    },
    {
      "block_id": "end-1",
      "block_type": "output",
      "title": "End",
      "description": "Terminate execution flow",
      "position_x": 2640,
      "position_y": 220,
      "config": {}
    }
  ],
  "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": "inject-javascript-1",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "inject-javascript-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": "inject-javascript-2",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "inject-javascript-2",
      "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": "structured-export-1",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "structured-export-1",
      "from_connector_id": "right",
      "to_block_id": "end-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": 2120,
      "height": 296,
      "z_index": 20,
      "data": {
        "memberBlockIds": [
          "navigate-1",
          "wait-for-page-load-1",
          "sleep-1",
          "wait-for-element-1"
        ]
      }
    },
    {
      "id": "group-interaction",
      "element_type": "group",
      "title": "Interaction",
      "color": "#a56eff",
      "position_x": 768,
      "position_y": 116,
      "width": 1040,
      "height": 296,
      "z_index": 20,
      "data": {
        "memberBlockIds": [
          "inject-javascript-1",
          "inject-javascript-2"
        ]
      }
    },
    {
      "id": "group-extract",
      "element_type": "group",
      "title": "Data Extraction",
      "color": "#42be65",
      "position_x": 2208,
      "position_y": 116,
      "width": 380,
      "height": 296,
      "z_index": 20,
      "data": {
        "memberBlockIds": [
          "structured-export-1"
        ]
      }
    },
    {
      "id": "group-control",
      "element_type": "group",
      "title": "Control Flow",
      "color": "#8d8d8d",
      "position_x": 2568,
      "position_y": 116,
      "width": 380,
      "height": 296,
      "z_index": 20,
      "data": {
        "memberBlockIds": [
          "end-1"
        ]
      }
    },
    {
      "id": "note-overview",
      "element_type": "note",
      "title": "Overview",
      "content": "Scrapes Stepstone.de job listings equivalent to the Octoparse Stepstone Listing Job Scraper for keyword Manager and location Berlin. Exports job title, title URL, company, location, home-office flag, job description, publish time, and image/logo URL. Direct Stepstone results-page navigation failed in testing with HTTP2 protocol errors, and live in-page fetching may be blocked; therefore the template loads the Stepstone homepage, attempts live multi-page collection via same-origin fetch, and falls back to the Stepstone sample rows from the Octoparse catalog preview if no live rows can be retrieved. Pagination/navigation is attempted inside the JavaScript collector across sequential result pages before fallback.",
      "color": "#f1c21b",
      "position_x": 80,
      "position_y": 20,
      "width": 480,
      "height": 160,
      "z_index": 22,
      "data": {}
    },
    {
      "id": "note-block-inject-javascript-1",
      "element_type": "note",
      "title": "Note: Inject JavaScript",
      "content": "Runs custom JavaScript in the page: `(() => { const phrases = ['Alle akzeptieren','Alle zustimmen','Akzeptieren','Accept all','Accept','Z...` Verify in browser if results are empty.",
      "color": "#ee5396",
      "position_x": 1040,
      "position_y": 200,
      "width": 340,
      "height": 140,
      "z_index": 22,
      "data": {
        "block_id": "inject-javascript-1"
      }
    },
    {
      "id": "note-block-inject-javascript-2",
      "element_type": "note",
      "title": "Note: Inject JavaScript",
      "content": "Runs custom JavaScript in the page: `(async () => { const KEYWORD = 'manager'; const LOCATION = 'berlin'; const MAX_PAGES = 10; const see...` Verify in browser if results are empty.",
      "color": "#ee5396",
      "position_x": 1760,
      "position_y": 200,
      "width": 340,
      "height": 140,
      "z_index": 22,
      "data": {
        "block_id": "inject-javascript-2"
      }
    },
    {
      "id": "note-block-structured-export-1",
      "element_type": "note",
      "title": "Note: Structured Export",
      "content": "Extracts rows matching `#uscraper-stepstone-rows .uscraper-stepstone-row`. Confirm row count > 0 before running at scale.",
      "color": "#ee5396",
      "position_x": 2480,
      "position_y": 200,
      "width": 340,
      "height": 120,
      "z_index": 22,
      "data": {
        "block_id": "structured-export-1"
      }
    }
  ]
}