360 Secure SkillHub
360 安全技能中心

Upcoming Metal Concerts

通过 Python 脚本抓取 concerts-metal.com 上指定国家即将举行的金属演出与音乐节,合并写入 data/concerts.json,自动去重并把消失的未来场次标记为可能取消。首次运行默认国家为西班牙,可通过配置文件或命令行参数调整国家与查询天数,无需 API 密钥。

分类:搜索
patfitzner
patfitzner
热度 37.89
最近更新 2026-05-11 17:29:37

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add patfitzner/upcoming-metal-concerts
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
upcoming-metal-concerts
description
Collect upcoming metal concerts and festivals by country using concerts-metal.com. Use when the user asks about upcoming metal shows, gigs, or festivals.
metadata
{"openclaw":{"emoji":"🤘","requires":{"bins":["python3"]}}}

Upcoming Metal Concerts

Collect upcoming metal concerts and festivals worldwide via concerts-metal.com.

First run

On first run, skill-config.json is created with default settings. The default country is Spain (ES). Tell the user this and ask them which country they'd like to use. To see all supported country codes, run:

python3 {baseDir}/scripts/events.py --list-countries

Then update country in {baseDir}/skill-config.json to the user's chosen code before collecting.

Usage

Run the collector to scrape and accumulate concert data into data/concerts.json:

python3 {baseDir}/scripts/events.py

The --country flag overrides the config for a single run without changing it:

python3 {baseDir}/scripts/events.py --country DE

Re-running merges new concerts without duplicates and flags previously-seen future concerts that disappear from the source as potentially cancelled. Each record contains date, artists, venue, city, url, discovered_at, and status ("active" or "cancelled").

Changing settings

All settings live in {baseDir}/skill-config.json:

{
  "country": "ES",
  "concert_days": 200
}
Key What it does How to change
country ISO country code to scrape. Set to any code from --list-countries (e.g. "DE", "US", "GB").
concert_days How many days ahead to look for concerts. Set to any positive integer (e.g. 90 for ~3 months, 365 for a year).

When the user asks to change their country or lookahead window, edit the relevant key in {baseDir}/skill-config.json directly.

Data files

All data lives in data/ (gitignored):

  • concerts.json — accumulated concert records

Notes

  • No API key required. Data is sourced from concerts-metal.com broadcast pages.
  • Coverage is excellent for metal, punk, hardcore, and adjacent genres across 50+ countries.