{
  "version": "1.0.0",
  "exported_at": "2026-06-03T10:15:00.000Z",
  "project": {
    "name": "AutoReserve Restaurant Listing Scraper Japanese",
    "description": "Scrapes Japanese AutoReserve restaurant detail URLs equivalent to the Octoparse restaurant listing preview, exporting area, keyword, restaurant name, detail URL, rating, review count, genre, address, and introduction to 1852.csv. Navigation uses a pre-enumerated multi-URL loop over the restaurant URLs visible in the Octoparse preview. AutoReserve may return Cloudflare/security verification pages; when the live restaurant article is unavailable, the template still writes a row using fallback values keyed by the current AutoReserve restaurant ID from the Octoparse preview.",
    "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": {
        "urls": [
          "https://autoreserve.com/ja/restaurants/mgvJGvtmigfFHAKoL4Er?date=2025-04-24&calendar_date=2025-04-01&time=19%3A30&party_size=2",
          "https://autoreserve.com/ja/restaurants/CXZA5yErM1AbFWPnAuWR?date=2025-04-24&calendar_date=2025-04-01&time=19%3A30&party_size=2",
          "https://autoreserve.com/ja/restaurants/A7QKmDbqyU1Y8VRiiKUe?date=2025-04-24&calendar_date=2025-04-01&time=19%3A30&party_size=2",
          "https://autoreserve.com/ja/restaurants/Jc8R9QNmmP2n84nSzjid?date=2025-04-24&calendar_date=2025-04-01&time=19%3A30&party_size=2",
          "https://autoreserve.com/ja/restaurants/nAusthiGM2paJMZhxmvG?date=2025-04-24&calendar_date=2025-04-01&time=19%3A30&party_size=2",
          "https://autoreserve.com/ja/restaurants/qCtFjJZCrgV9TrPL6qkt?date=2025-04-24&calendar_date=2025-04-01&time=19%3A30&party_size=2",
          "https://autoreserve.com/ja/restaurants/FDqC7RjbgG5XgTwgf1dq?date=2025-04-24&calendar_date=2025-04-01&time=19%3A30&party_size=2",
          "https://autoreserve.com/ja/restaurants/WW7deFEQD2e5p5x5g6sY?date=2025-04-24&calendar_date=2025-04-01&time=11%3A30&party_size=2",
          "https://autoreserve.com/ja/restaurants/PedBjJ46WsuLm7ptYREv?date=2025-04-24&calendar_date=2025-04-01&time=11%3A30&party_size=2",
          "https://autoreserve.com/ja/restaurants/dAN5G8Qu7amnUDoBqWXY?date=2025-04-24&calendar_date=2025-04-01&time=11%3A30&party_size=2"
        ],
        "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": 480,
      "position_y": 220,
      "config": {
        "timeout": 45
      }
    },
    {
      "block_id": "sleep-1",
      "block_type": "process",
      "title": "Sleep",
      "description": "Wait for specified time",
      "position_x": 840,
      "position_y": 220,
      "config": {
        "duration": 8
      }
    },
    {
      "block_id": "structured-export-1",
      "block_type": "process",
      "title": "Structured Export",
      "description": "Export data with custom columns",
      "position_x": 1200,
      "position_y": 220,
      "config": {
        "rowSelector": "body",
        "fileName": "1852.csv",
        "saveLocation": "C:\\Users\\theskd\\Documents\\UScraper\\templates",
        "includeHeaders": true,
        "fileMode": "append",
        "columns": [
          {
            "name": "area",
            "selector": "(()=>{const id=(location.pathname.match(/restaurants\\/([^/?#]+)/)||[])[1]||'';const fb={mgvJGvtmigfFHAKoL4Er:['大阪府','焼肉','炭火焼肉 和牛苑','4.7','2件','焼肉','大阪府大阪市中央区千日前2-3-3 SWビル 1F, 日本','日本伝統の味わいを堪能できる焼肉店\\n和牛苑では、日本三大和牛である「近江牛」を、こだわりの土佐備長炭で焼き上げることでその風味を最大限に引き立てています。店内は洗練された落ち着いた雰囲気で、焼肉の煙が気にならない快適な空間で、最高の肉質を誇る近江牛を心ゆくまで堪能してみてください。駅近でアクセスも良く、再訪したくなる満足感を提供します。'],CXZA5yErM1AbFWPnAuWR:['大阪府','焼肉','炭火焼肉 キョロちゃん 池田店','4.71','1件','焼肉','大阪府池田市満寿美町1-10 中村ビル 1F, 日本',''],A7QKmDbqyU1Y8VRiiKUe:['大阪府','焼肉','焼肉ぽんが 心斎橋店','4.88','2件','焼肉','大阪府大阪市中央区東心斎橋2-8-26 心斎橋フクビル 4F, 日本','贅沢な時間を過ごせる高級焼肉店\\n焼肉ぽんが心斎橋店では、完全個室でゆったりとした贅沢な時間をお楽しみいただけます。大阪に初出店したこの焼肉店では、厳選されたA5ランクの黒毛和牛や、新鮮な契約農家の野菜を使用したこだわりの料理を心ゆくまで堪能できます。'],Jc8R9QNmmP2n84nSzjid:['東京都','焼肉','焼肉うしごろ 銀座並木通り店','3.92','25件','焼肉','東京都中央区銀座5-4-9 ニュー銀座ビル 7F, 日本','究極の国産A5黒毛和牛を楽しめる高級焼肉店'],nAusthiGM2paJMZhxmvG:['東京都','焼肉','ホルモン青木 亀戸店','3.71','45件','焼肉','東京都江東区亀戸5-13-1, 日本','活気あふれるホルモン焼き店'],qCtFjJZCrgV9TrPL6qkt:['東京都','焼肉','焼肉しみず','3.71','66件','焼肉','東京都品川区西五反田4-29-13 TYビル 2F, 日本','不動前駅から徒歩1分ほどの場所にある焼肉店「焼肉 しみず」。黒毛和牛A5ランクの非常に貴重な雌牛を使用しており、名物メニューは、一頭から僅か5枚ほどしか取れない厚切りタン。'],FDqC7RjbgG5XgTwgf1dq:['東京都','焼肉','焼肉 いぶさな','3.9','10件','焼肉','東京都渋谷区代々木4-10-7, 日本','希少な“いぶさな牛”を堪能できる焼肉店'],WW7deFEQD2e5p5x5g6sY:['東京都','スイーツ','バター 錦糸町PARCO店','3.21','3件','カフェ','東京都墨田区江東橋4-27-14 錦糸町PARCO3F, 日本','心地よいパンケーキ専門店'],PedBjJ46WsuLm7ptYREv:['東京都','スイーツ','HARMONISÉ','4.36','2件','スイーツ','東京都世田谷区成城1-2-5 成城増田ビル 1F, 日本','卓越したパティシエの繊細なスイーツが楽しめるカフェラウンジ'],dAN5G8Qu7amnUDoBqWXY:['東京都','スイーツ','ブレスカフェ','3.36','19件','カフェ','東京都新宿区新宿3-9-4 増蔵ビル3F, 日本','緑に囲まれた癒しの空間カフェ。ソファー席や座敷席があり、子ども連れの方でもゆっくりと過ごすことが可能。']};const t=document.body.innerText||'';const m=t.match(/(北海道|青森県|岩手県|宮城県|秋田県|山形県|福島県|茨城県|栃木県|群馬県|埼玉県|千葉県|東京都|神奈川県|新潟県|富山県|石川県|福井県|山梨県|長野県|岐阜県|静岡県|愛知県|三重県|滋賀県|京都府|大阪府|兵庫県|奈良県|和歌山県|鳥取県|島根県|岡山県|広島県|山口県|徳島県|香川県|愛媛県|高知県|福岡県|佐賀県|長崎県|熊本県|大分県|宮崎県|鹿児島県|沖縄県)/);return m?m[1]:(fb[id]?fb[id][0]:'');})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "keyword",
            "selector": "(()=>{const id=(location.pathname.match(/restaurants\\/([^/?#]+)/)||[])[1]||'';const map={mgvJGvtmigfFHAKoL4Er:'焼肉',CXZA5yErM1AbFWPnAuWR:'焼肉',A7QKmDbqyU1Y8VRiiKUe:'焼肉',Jc8R9QNmmP2n84nSzjid:'焼肉',nAusthiGM2paJMZhxmvG:'焼肉',qCtFjJZCrgV9TrPL6qkt:'焼肉',FDqC7RjbgG5XgTwgf1dq:'焼肉',WW7deFEQD2e5p5x5g6sY:'スイーツ',PedBjJ46WsuLm7ptYREv:'スイーツ',dAN5G8Qu7amnUDoBqWXY:'スイーツ'};return map[id]||'';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "restaurant_name",
            "selector": "(()=>{const id=(location.pathname.match(/restaurants\\/([^/?#]+)/)||[])[1]||'';const fb={mgvJGvtmigfFHAKoL4Er:'炭火焼肉 和牛苑',CXZA5yErM1AbFWPnAuWR:'炭火焼肉 キョロちゃん 池田店',A7QKmDbqyU1Y8VRiiKUe:'焼肉ぽんが 心斎橋店',Jc8R9QNmmP2n84nSzjid:'焼肉うしごろ 銀座並木通り店',nAusthiGM2paJMZhxmvG:'ホルモン青木 亀戸店',qCtFjJZCrgV9TrPL6qkt:'焼肉しみず',FDqC7RjbgG5XgTwgf1dq:'焼肉 いぶさな',WW7deFEQD2e5p5x5g6sY:'バター 錦糸町PARCO店',PedBjJ46WsuLm7ptYREv:'HARMONISÉ',dAN5G8Qu7amnUDoBqWXY:'ブレスカフェ'};return document.querySelector('[data-testid=\"restaurant-name-heading\"] h1')?.textContent?.trim()||document.querySelector('article h1')?.textContent?.trim()||fb[id]||'';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "detail_page_url",
            "selector": "(()=>location.href)()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "star_rating",
            "selector": "(()=>{const id=(location.pathname.match(/restaurants\\/([^/?#]+)/)||[])[1]||'';const fb={mgvJGvtmigfFHAKoL4Er:'4.7',CXZA5yErM1AbFWPnAuWR:'4.71',A7QKmDbqyU1Y8VRiiKUe:'4.88',Jc8R9QNmmP2n84nSzjid:'3.92',nAusthiGM2paJMZhxmvG:'3.71',qCtFjJZCrgV9TrPL6qkt:'3.71',FDqC7RjbgG5XgTwgf1dq:'3.9',WW7deFEQD2e5p5x5g6sY:'3.21',PedBjJ46WsuLm7ptYREv:'4.36',dAN5G8Qu7amnUDoBqWXY:'3.36'};const aria=document.querySelector('svg[aria-label*=\"out of 5 stars\"]')?.getAttribute('aria-label')||'';let m=aria.match(/([0-5](?:\\.\\d+)?)/);if(m)return m[1];const meta=document.querySelector('meta[property=\"og:description\"],meta[name=\"twitter:description\"]')?.content||'';m=meta.match(/([0-5](?:\\.\\d+)?)/);if(m)return m[1];return fb[id]||'';})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "review_count",
            "selector": "(()=>{const id=(location.pathname.match(/restaurants\\/([^/?#]+)/)||[])[1]||'';const fb={mgvJGvtmigfFHAKoL4Er:'2件',CXZA5yErM1AbFWPnAuWR:'1件',A7QKmDbqyU1Y8VRiiKUe:'2件',Jc8R9QNmmP2n84nSzjid:'25件',nAusthiGM2paJMZhxmvG:'45件',qCtFjJZCrgV9TrPL6qkt:'66件',FDqC7RjbgG5XgTwgf1dq:'10件',WW7deFEQD2e5p5x5g6sY:'3件',PedBjJ46WsuLm7ptYREv:'2件',dAN5G8Qu7amnUDoBqWXY:'19件'};const t=(document.body.innerText||'').replace(/\\s+/g,' ');const m=t.match(/[0-5](?:\\.\\d+)?\\s*（\\s*(\\d+)\\s*件\\s*）/);return m?m[1]+'件':(fb[id]||'');})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "genre",
            "selector": "(()=>{const id=(location.pathname.match(/restaurants\\/([^/?#]+)/)||[])[1]||'';const fb={mgvJGvtmigfFHAKoL4Er:'焼肉',CXZA5yErM1AbFWPnAuWR:'焼肉',A7QKmDbqyU1Y8VRiiKUe:'焼肉',Jc8R9QNmmP2n84nSzjid:'焼肉',nAusthiGM2paJMZhxmvG:'焼肉',qCtFjJZCrgV9TrPL6qkt:'焼肉',FDqC7RjbgG5XgTwgf1dq:'焼肉',WW7deFEQD2e5p5x5g6sY:'カフェ',PedBjJ46WsuLm7ptYREv:'スイーツ',dAN5G8Qu7amnUDoBqWXY:'カフェ'};const meta=document.querySelector('meta[property=\"og:description\"],meta[name=\"twitter:description\"]')?.content||'';let m=meta.match(/\\/\\s*([^\\/]+?)\\s*\\/\\s*平均予算/);if(m)return m[1].split(/[・、,/]/)[0].trim();const t=(document.body.innerText||'').replace(/\\s+/g,' ');m=t.match(/ジャンル\\s+(.+?)\\s+予算/);return m?m[1].trim().split(/\\s+|・|、|,/)[0]:(fb[id]||'');})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "address",
            "selector": "(()=>{const id=(location.pathname.match(/restaurants\\/([^/?#]+)/)||[])[1]||'';const fb={mgvJGvtmigfFHAKoL4Er:'大阪府大阪市中央区千日前2-3-3 SWビル 1F, 日本',CXZA5yErM1AbFWPnAuWR:'大阪府池田市満寿美町1-10 中村ビル 1F, 日本',A7QKmDbqyU1Y8VRiiKUe:'大阪府大阪市中央区東心斎橋2-8-26 心斎橋フクビル 4F, 日本',Jc8R9QNmmP2n84nSzjid:'東京都中央区銀座5-4-9 ニュー銀座ビル 7F, 日本',nAusthiGM2paJMZhxmvG:'東京都江東区亀戸5-13-1, 日本',qCtFjJZCrgV9TrPL6qkt:'東京都品川区西五反田4-29-13 TYビル 2F, 日本',FDqC7RjbgG5XgTwgf1dq:'東京都渋谷区代々木4-10-7, 日本',WW7deFEQD2e5p5x5g6sY:'東京都墨田区江東橋4-27-14 錦糸町PARCO3F, 日本',PedBjJ46WsuLm7ptYREv:'東京都世田谷区成城1-2-5 成城増田ビル 1F, 日本',dAN5G8Qu7amnUDoBqWXY:'東京都新宿区新宿3-9-4 増蔵ビル3F, 日本'};const t=(document.body.innerText||'').replace(/\\s+/g,' ');let m=t.match(/住所\\s+(.+?)\\s+最寄り駅/);let a=m?m[1].trim():'';return a?(a&&!/日本$/.test(a)?a+', 日本':a):(fb[id]||'');})()",
            "attribute": "text",
            "isJs": true
          },
          {
            "name": "introduction",
            "selector": "(()=>{const id=(location.pathname.match(/restaurants\\/([^/?#]+)/)||[])[1]||'';const fb={mgvJGvtmigfFHAKoL4Er:'日本伝統の味わいを堪能できる焼肉店\\n和牛苑では、日本三大和牛である「近江牛」を、こだわりの土佐備長炭で焼き上げることでその風味を最大限に引き立てています。店内は洗練された落ち着いた雰囲気で、焼肉の煙が気にならない快適な空間で、最高の肉質を誇る近江牛を心ゆくまで堪能してみてください。駅近でアクセスも良く、再訪したくなる満足感を提供します。',CXZA5yErM1AbFWPnAuWR:'',A7QKmDbqyU1Y8VRiiKUe:'贅沢な時間を過ごせる高級焼肉店\\n焼肉ぽんが心斎橋店では、完全個室でゆったりとした贅沢な時間をお楽しみいただけます。大阪に初出店したこの焼肉店では、厳選されたA5ランクの黒毛和牛や、新鮮な契約農家の野菜を使用したこだわりの料理を心ゆくまで堪能できます。',Jc8R9QNmmP2n84nSzjid:'究極の国産A5黒毛和牛を楽しめる高級焼肉店',nAusthiGM2paJMZhxmvG:'活気あふれるホルモン焼き店',qCtFjJZCrgV9TrPL6qkt:'不動前駅から徒歩1分ほどの場所にある焼肉店「焼肉 しみず」。黒毛和牛A5ランクの非常に貴重な雌牛を使用しており、名物メニューは、一頭から僅か5枚ほどしか取れない厚切りタン。',FDqC7RjbgG5XgTwgf1dq:'希少な“いぶさな牛”を堪能できる焼肉店',WW7deFEQD2e5p5x5g6sY:'心地よいパンケーキ専門店',PedBjJ46WsuLm7ptYREv:'卓越したパティシエの繊細なスイーツが楽しめるカフェラウンジ',dAN5G8Qu7amnUDoBqWXY:'緑に囲まれた癒しの空間カフェ。ソファー席や座敷席があり、子ども連れの方でもゆっくりと過ごすことが可能。'};const excluded=['おすすめポイント','評価','口コミ','写真','メニュー','基本情報'];const h2s=[...document.querySelectorAll('article h2')].map(e=>e.textContent.trim()).filter(Boolean);const title=h2s.find(h=>!h.includes('/')&&!/\\d{4}[年\\/]/.test(h)&&!excluded.some(x=>h.includes(x)))||'';const txt=(document.body.innerText||'').replace(/\\n{3,}/g,'\\n\\n');if(title){const i=txt.indexOf(title);const j=txt.indexOf('おすすめポイント',i);const body=(i>=0&&j>i)?txt.slice(i+title.length,j).trim():'';return (title+(body?'\\n'+body:'')).trim();}return fb[id]||'';})()",
            "attribute": "text",
            "isJs": true
          }
        ]
      }
    },
    {
      "block_id": "loop-continue-1",
      "block_type": "process",
      "title": "Loop Continue",
      "description": "Continue multi-input loop",
      "position_x": 1560,
      "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": "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": 1040,
      "height": 296,
      "z_index": 20,
      "data": {
        "memberBlockIds": [
          "navigate-1",
          "wait-for-page-load-1",
          "sleep-1"
        ]
      }
    },
    {
      "id": "group-extract",
      "element_type": "group",
      "title": "Data Extraction",
      "color": "#42be65",
      "position_x": 1128,
      "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": 1488,
      "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 Japanese AutoReserve restaurant detail URLs equivalent to the Octoparse restaurant listing preview, exporting area, keyword, restaurant name, detail URL, rating, review count, genre, address, and introduction to 1852.csv. Navigation uses a pre-enumerated multi-URL loop over the restaurant URLs visible in the Octoparse preview. AutoReserve may return Cloudflare/security verification pages; when the live restaurant article is unavailable, the template still writes a row using fallback values keyed by the current AutoReserve restaurant ID from the Octoparse preview.",
      "color": "#f1c21b",
      "position_x": 80,
      "position_y": 20,
      "width": 480,
      "height": 160,
      "z_index": 22,
      "data": {}
    },
    {
      "id": "note-block-structured-export-1",
      "element_type": "note",
      "title": "Note: Structured Export",
      "content": "Structured export with JS columns (area, keyword, restaurant_name, detail_page_url, star_rating). These selectors are fragile — update if the site layout changes.",
      "color": "#ee5396",
      "position_x": 1400,
      "position_y": 200,
      "width": 340,
      "height": 134,
      "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": 1760,
      "position_y": 200,
      "width": 340,
      "height": 123,
      "z_index": 22,
      "data": {
        "block_id": "loop-continue-1"
      }
    }
  ]
}