Query TPVL game results, schedules, and standings for the Taiwan Professional Volleyball League.
SourceDescriptionTPVL official websiteGame results, schedule, standings via __NEXT_DATA__ SSR JSON
Note: TPVL's /api/* endpoints require authentication (401). All data is extracted from server-side rendered __NEXT_DATA__ JSON embedded in page HTML.
/): Recent 5 completed + 5 upcoming matches + rankings/schedule/schedule): All completed match data (82+ games)/record): Full team standings with detailed statsTeamEnglish臺中連莊Taichung Winstreak台鋼天鷹TSG SkyHawks臺北伊斯特Taipei East Power桃園雲豹飛將Taoyuan Leopards
FeatureScriptSourceStatusGame resultstpvl_games.pyTPVL /schedule/schedule page✅Scheduletpvl_schedule.pyTPVL homepage + schedule page✅Standingstpvl_standings.pyTPVL /record page✅Player statstpvl_stats.pyAuto-detects TPVL pages🔄 Auto-detect
目前 TPVL 官網僅有單一賽事類型(例行賽),資料結構中只有一組 seasonId/ divisionId/ poolId:
沒有明確的例行賽/季後賽/總冠軍賽區分。官網也沒有對應的篩選 UI。若未來球季加入季後賽,將新增 --kind 參數支援。
tpvl_stats.py 會自動偵測 TPVL 官網球員數據頁面是否可用(路由 /results/player-introduction、 /results/competition-data)。若頁面已開放,將自動取得實際數據;若仍為 404 則回傳空資料。
All scripts use uv run for dependency management.
bash
uv run scripts/tpvl_games.py --limit 10
uv run scripts/tpvl_games.py --date 2026-03-22
uv run scripts/tpvl_games.py --team 台鋼 --limit 5
uv run scripts/tpvl_games.py --year 2025
bash
uv run scripts/tpvl_schedule.py
uv run scripts/tpvl_schedule.py --date 2026-03-28
uv run scripts/tpvl_schedule.py --team 連莊
uv run scripts/tpvl_schedule.py --all --limit 20
bash
uv run scripts/tpvl_standings.py
uv run scripts/tpvl_standings.py --output text
bash
uv run scripts/tpvl_stats.py --category 得分 --top 20 --output text
uv run scripts/tpvl_stats.py --team 台鋼 --category 攔網
Auto-installed via uv:
requests — HTTP requestsbeautifulsoup4 — HTML parsing (reserved for future scraping needs)lxml — Fast parser/tmp/tpvl_cache/台鋼, 連莊, 伊斯特, 桃園)