بنقرة واحدة
eslite-spectrum
Platform rules and field mappings for the 誠品生活日本橋 (eslite spectrum Nihonbashi) scraper
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Platform rules and field mappings for the 誠品生活日本橋 (eslite spectrum Nihonbashi) scraper
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Planning principles, model selection, and scope rules for the Architect agent
Implementation rules for database migrations, Python scrapers, and Next.js web for the Engineer agent
BaseScraper contract, field rules, and Peatix-specific conventions for the Scraper Expert agent
Scraper test execution rules, output validation criteria, and report format for the Tester agent
BaseScraper contract, field rules, and Peatix-specific conventions for the Scraper Expert agent
版元ドットコム Playwright scraper for Taiwan-related books (Publication Intel v3.1)
| name | eslite_spectrum |
| description | Platform rules and field mappings for the 誠品生活日本橋 (eslite spectrum Nihonbashi) scraper |
--source eslite_spectrum
Class: EsliteSpectrumScraper → key auto-derived as eslite_spectrum (matches SOURCE_NAME).
/news listing page (static HTML)./news/catalog/{id} links with published date and title.content_text = f"{title}\n{description}" only (NOT the full page HTML).YYYY-MM-DD string).| Field | Source |
|---|---|
source_id | eslite_spectrum_{catalog_id} (e.g. /news/catalog/9 → eslite_spectrum_9) |
source_url | https://www.eslitespectrum.jp/news/catalog/{id} |
name_ja | Article <h1> or equivalent title element |
start_date | First YYYY-MM-DD string found in detail page body |
location_name | Always "誠品生活日本橋" (hardcoded) |
location_address | Always "東京都中央区日本橋室町3-2-1 COREDO室町テラス2F" (hardcoded) |
raw_description | "開催日時: YYYY年MM月DD日\n\n" + main body text |
event_form must equal ['publication'].location_address, location_address_zh, location_address_en, business_hours, business_hours_zh, business_hours_en, location_prefectures.is_paid, price_info, price_amount); hide pure-publication prices only in UI and JSON-LD. Price fields, location_name, and location_url are outside the seven-field NULL/clear policy.organizer) stays required even for pure publication rows.publication in event_form.IMPORTANT: Keywords are checked against main content only:
content_text = f"{title}\n{description}"
Do NOT check page.text or the full HTML — 誠品 appears in every page's navigation and footer, which would cause all articles to match.
["台湾", "Taiwan", "臺灣", "台灣", "台北", "高雄", "台中", "台南", "台日", "日台"]
Note: "誠品" is intentionally excluded — it appears in every page's nav/footer.
_SKIP_TITLE_RE)Articles with these title patterns are skipped before detail-page fetch:
会員募集 | メンバーズカード | ワークショップカレンダー | ポイント | お知らせ | 営業時間 | 定休日 | リニューアル
Detail pages contain dates in YYYY-MM-DD format embedded in the body text.
Example: 2026-06-07 extracted from 【開催日時】2026年6月7日.
The scraper uses _DATE_RE = re.compile(r"\d{4}-\d{2}-\d{2}") to extract the first match.
_SKIP_TITLE_RE filters these.