一键导入
jats
Platform rules, WP API filtering, and date/venue extraction for the 日本台湾学会 (JATS) scraper
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Platform rules, WP API filtering, and date/venue extraction for the 日本台湾学会 (JATS) 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
Platform rules and field mappings for the 誠品生活日本橋 (eslite spectrum Nihonbashi) scraper
| name | jats |
| description | Platform rules, WP API filtering, and date/venue extraction for the 日本台湾学会 (JATS) scraper |
| applyTo | scraper/sources/jats.py |
| Field | Value |
|---|---|
| Site URL | https://jats.gr.jp/ |
| Type | WordPress REST API |
| Auth | None |
| Rate Limit | None observed |
| Source Name | jats |
| Source ID Format | jats_{wp_post_id} (e.g. jats_7410) |
--source key | jats |
JATS (日本台湾学会 / Japan Association for Taiwan Studies) is an academic society based at 東京大学東洋文化研究所 (文京区). It holds 定例研究会(関東)monthly at Tokyo universities (Waseda, Tokyo, Hosei) and an annual 学術大会. ALL events are Taiwan-related — no keyword filter needed.
https://jats.gr.jp/wp-json/wp/v2/poststaikai-tokyo, 定例研究会Tokyo) — 226 poststaikai-2, 学術大会) — 21 posts (annual conference)Two types share the same category — only scrape the structured detail type:
| Type | URL Pattern | Content | Action |
|---|---|---|---|
| Announcement | /taikai-tokyo/kantoNNN/ | Just says "学会ブログに掲載しました" | SKIP |
| Structured detail | /taikai/tokyoNNN | Has 日時, 場所, プログラム | SCRAPE |
Filter: re.search(r"/taikai/tokyo\d+$", link) — only structured detail posts.
| Event Field | Source |
|---|---|
name_ja | Post title.rendered (HTML stripped) |
start_date | Content: 日時 YYYY年M月DD日(曜日)HH:MM-HH:MM |
location_name | Content: 場所 VENUE (stop at ■, ※, http, プログラム) |
location_address | Same as location_name |
source_url | Post link |
source_id | jats_{post_id} |
is_paid | False (academic seminars, free) |
category | ["academic", "taiwan_japan"] |
Format: 日時 2026年4月25日(土)10:30-16:00 (JST)
日時 (no colon) followed by a space, then date(土) with re.sub(r"([月火水木金土日・祝)]+)", "", raw)(JST) annotationYYYY年M月DD日 for dateHH:MM (ASCII colon) for start time_extract_after_label■, ※, ●, http, プログラム, 言語, 定員, 申込, 主催
Single-char stops (■, ●, ※) need \s+CHAR not \s+CHAR[\s::].
| Symptom | Likely Cause | Fix |
|---|---|---|
| Announcement posts scraped | URL filter too loose | Ensure _DETAIL_URL_RE = re.compile(r"/taikai/tokyo\d+$") |
location_name too long (includes URL) | Stop label not matching | Check http is in _STOP_LABELS with single-char rule |
start_date = midnight | No time in post | Normal for some posts; date is still correct |