Chords Fetcher
Fetch clean guitar chords and lyrics without ads, pop-ups, or messy guitar tabs.
Usage
When the user asks for chords to a song (e.g., "аккорды Кино Звезда по имени Солнце", "chords behind blue eyes"), use the exec tool to run the fetcher script.
CODEBLOCK0
Features
- - Searches across multiple sources: mychords.net, ultimate-guitar.com, amdm.ru via DuckDuckGo.
- Strips out guitar tabs (e|---, B|---, etc.) to keep the output clean.
- Fixes spacing where chords are glued to lyrics (e.g.,
AmWhite snow → Am White snow). - Falls back to the next source if one is unavailable.
Dependencies
- - INLINECODE3
- INLINECODE4 (DuckDuckGo Search)
Notes
- - Run the script from the skill's directory.
- If the script returns an error or cannot find the song, inform the user.
和弦获取器
获取纯净的吉他和弦与歌词,无广告、弹窗或杂乱的吉他谱。
使用方法
当用户请求某首歌的和弦时(例如:аккорды Кино Звезда по имени Солнце、chords behind blue eyes),使用 exec 工具运行获取脚本。
bash
uv run python chords.py <歌曲名称和艺术家>
功能特点
- - 跨多个来源搜索:mychords.net、ultimate-guitar.com、amdm.ru(通过 DuckDuckGo 实现)。
- 剔除吉他谱(如 e|---、B|--- 等),保持输出内容整洁。
- 修复和弦与歌词粘连的间距问题(例如 AmWhite snow → Am White snow)。
- 若某个来源不可用,自动回退至下一个来源。
依赖项
- - beautifulsoup4
- ddgs(DuckDuckGo 搜索)
注意事项
- - 在技能目录下运行脚本。
- 如果脚本返回错误或无法找到歌曲,请告知用户。