{
  "version": "1.0.0",
  "exported_at": "2026-06-02T00:00:00.000Z",
  "project": {
    "name": "Woman Type Job Details Scraper",
    "description": "Scrapes job detail data from Woman Type job-offer pages, including job category, page number, company name, employment type, working time, location, salary, job title, job description, and page URL. Navigation uses a known detail-URL list with loop-continue and appends all pages into one CSV. Replace or extend navigate.urls[] with additional Woman Type job detail URLs for broader keyword/search coverage.",
    "color": "bg-[#4589ff]",
    "template_id": "ai-generated"
  },
  "blocks": [
    {
      "block_id": "set-window-size-1",
      "block_type": "process",
      "title": "Set Window Size",
      "description": "Set browser window dimensions",
      "position_x": 100,
      "position_y": 240,
      "config": {
        "width": 1920,
        "height": 1080,
        "color": "bg-[#4589ff]"
      }
    },
    {
      "block_id": "navigate-1",
      "block_type": "process",
      "title": "Navigate",
      "description": "Go to a URL",
      "position_x": 460,
      "position_y": 240,
      "config": {
        "urls": [
          "https://woman-type.jp/job-offer/391899/?routeway=16",
          "https://woman-type.jp/job-offer/391898/?routeway=16",
          "https://woman-type.jp/job-offer/532926/?routeway=16",
          "https://woman-type.jp/job-offer/523922/?routeway=16",
          "https://woman-type.jp/job-offer/523923/?routeway=16",
          "https://woman-type.jp/job-offer/169851/?routeway=16",
          "https://woman-type.jp/job-offer/169850/?routeway=16"
        ],
        "color": "bg-[#4589ff]"
      }
    },
    {
      "block_id": "wait-for-page-load-1",
      "block_type": "process",
      "title": "Wait for Page Load",
      "description": "Wait for page to finish loading",
      "position_x": 820,
      "position_y": 240,
      "config": {
        "timeout": 30,
        "color": "bg-[#08bdba]"
      }
    },
    {
      "block_id": "wait-for-element-1",
      "block_type": "process",
      "title": "Wait for Element",
      "description": "Wait until element appears",
      "position_x": 1180,
      "position_y": 240,
      "config": {
        "selector": ".inner.detail-top .company-name",
        "timeout": 30,
        "visible": true,
        "color": "bg-[#08bdba]"
      }
    },
    {
      "block_id": "structured-export-1",
      "block_type": "process",
      "title": "Structured Export",
      "description": "Export data with custom columns",
      "position_x": 1540,
      "position_y": 240,
      "config": {
        "rowSelector": "#contents",
        "fileName": "woman-type-job-details-scraper.csv",
        "saveLocation": "C:\\Users\\theskd\\Documents\\UScraper\\templates",
        "includeHeaders": true,
        "fileMode": "append",
        "color": "bg-[#42be65]",
        "columns": [
          {
            "name": "job_category",
            "selector": "(() => { const crumbs = Array.from(document.querySelectorAll('.breadcrumb li span')).map(el => el.textContent.trim()).filter(Boolean); return crumbs.find(t => t.includes('系') && !t.includes('から探す')) || crumbs.find(t => t.includes('系'))?.replace('から探す', '').trim() || Array.from(document.querySelectorAll('.job-tag span')).map(el => el.textContent.trim()).filter(Boolean).join(' | '); })()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "page_number",
            "selector": "(() => { return new URL(location.href).searchParams.get('page') || '1'; })()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "job_title",
            "selector": "h1.company-title",
            "attribute": "text"
          },
          {
            "name": "company_name",
            "selector": ".company-name",
            "attribute": "text"
          },
          {
            "name": "employment_type",
            "selector": "(() => { const iconTypes = Array.from(document.querySelectorAll('.tag-type img')).map(img => img.alt && img.alt.trim()).filter(Boolean).join(' | '); if (iconTypes) return iconTypes; const block = Array.from(ROW.querySelectorAll('.details')).find(d => ((d.querySelector('.detail-left h4') || {}).textContent || '').trim().includes('雇用形態')); return block ? ((block.querySelector('.detail-right') || {}).innerText || '').trim() : ''; })()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "working_time",
            "selector": "(() => { const block = Array.from(ROW.querySelectorAll('.details')).find(d => ((d.querySelector('.detail-left h4') || {}).textContent || '').trim().includes('勤務時間')); return block ? ((block.querySelector('.detail-right') || {}).innerText || '').trim() : ''; })()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "location",
            "selector": "(() => { const block = Array.from(ROW.querySelectorAll('.details')).find(d => ((d.querySelector('.detail-left h4') || {}).textContent || '').trim().includes('勤務地')); return block ? ((block.querySelector('.detail-right') || {}).innerText || '').trim() : ''; })()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "salary",
            "selector": "(() => { const block = Array.from(ROW.querySelectorAll('.details')).find(d => ((d.querySelector('.detail-left h4') || {}).textContent || '').trim().includes('給与')); return block ? ((block.querySelector('.detail-right') || {}).innerText || '').trim() : ''; })()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "job_description",
            "selector": "(() => { const block = Array.from(ROW.querySelectorAll('.details')).find(d => ((d.querySelector('.detail-left h4') || {}).textContent || '').trim() === '仕事内容'); return block ? ((block.querySelector('.detail-right') || {}).innerText || '').trim() : ''; })()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "page_url",
            "selector": "(() => location.href)()",
            "attribute": "text",
            "isJs": true
          }
        ]
      }
    },
    {
      "block_id": "sleep-1",
      "block_type": "process",
      "title": "Sleep",
      "description": "Wait for specified time",
      "position_x": 1900,
      "position_y": 240,
      "config": {
        "duration": 1,
        "color": "bg-[#ff832b]"
      }
    },
    {
      "block_id": "loop-continue-1",
      "block_type": "process",
      "title": "Loop Continue",
      "description": "Continue multi-input loop",
      "position_x": 2260,
      "position_y": 240,
      "config": {
        "color": "bg-[#ff832b]"
      }
    }
  ],
  "connections": [
    {
      "from_block_id": "set-window-size-1",
      "from_connector_id": "right",
      "to_block_id": "navigate-1",
      "to_connector_id": "left"
    },
    {
      "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": "structured-export-1",
      "to_connector_id": "left"
    },
    {
      "from_block_id": "structured-export-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": "loop-continue-1",
      "to_connector_id": "left"
    }
  ],
  "canvas_elements": [
    {
      "id": "group-entry",
      "element_type": "group",
      "title": "Entry & Setup",
      "color": "#4589ff",
      "position_x": 28,
      "position_y": 136,
      "width": 380,
      "height": 296,
      "z_index": 20,
      "data": {
        "memberBlockIds": [
          "set-window-size-1"
        ]
      }
    },
    {
      "id": "group-load",
      "element_type": "group",
      "title": "Page Load",
      "color": "#08bdba",
      "position_x": 388,
      "position_y": 136,
      "width": 1760,
      "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": 1468,
      "position_y": 136,
      "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": 2188,
      "position_y": 136,
      "width": 380,
      "height": 296,
      "z_index": 20,
      "data": {
        "memberBlockIds": [
          "loop-continue-1"
        ]
      }
    },
    {
      "id": "note-overview",
      "element_type": "note",
      "title": "Overview",
      "content": "Scrapes job detail data from Woman Type job-offer pages, including job category, page number, company name, employment type, working time, location, salary, job title, job description, and page URL. Navigation uses a known detail-URL list with loop-continue and appends all pages into one CSV. Replace or extend navigate.urls[] with additional Woman Type job detail URLs for broader keyword/search coverage.",
      "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 7 pages. Pair with loop-continue at the end of each iteration.",
      "color": "#ee5396",
      "position_x": 660,
      "position_y": 220,
      "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 (job_category, page_number, employment_type, working_time, location). These selectors are fragile — update if the site layout changes.",
      "color": "#ee5396",
      "position_x": 1740,
      "position_y": 220,
      "width": 340,
      "height": 136,
      "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": 2460,
      "position_y": 220,
      "width": 340,
      "height": 123,
      "z_index": 22,
      "data": {
        "block_id": "loop-continue-1"
      }
    }
  ]
}