A Claude Code skill to make motion design videos in pure code: HTML + Playwright + ffmpeg. No After Effects, no Remotion license.
Add skill/motion-design/scripts/mixkit_sfx_search.py
ElRaph21109b7f330444a
diff --git a/skill/motion-design/scripts/mixkit_sfx_search.py b/skill/motion-design/scripts/mixkit_sfx_search.pynew file mode 100644index 0000000..67d09a1--- /dev/null+++ b/skill/motion-design/scripts/mixkit_sfx_search.py@@ -0,0 +1,13 @@+"""List Mixkit SFX (id + title): each card's title is searched between its own id marker and the next one, and before it."""+import re, sys, urllib.request+for q in sys.argv[1:]:+ html = urllib.request.urlopen(urllib.request.Request(f"https://mixkit.co/free-sound-effects/{q}/", headers={"User-Agent": "Mozilla/5.0"}), timeout=20).read().decode("utf8", "ignore")+ marks = [(m.start(), m.group(1)) for m in re.finditer(r'data-audio-player-item-id-value="(\d+)"', html)]+ titles = [(m.start(), m.group(1).strip()) for m in re.finditer(r'item-grid-card__title">\s*(?:<[^>]+>\s*)*([^<]+?)\s*<', html)]+ print("==", q, len(marks), "ids", len(titles), "titles")+ for i, (p, sid) in enumerate(marks[:14]):+ nxt = marks[i + 1][0] if i + 1 < len(marks) else len(html)+ prv = marks[i - 1][0] if i else 0+ after = [t for pos, t in titles if p < pos < nxt]+ before = [t for pos, t in titles if prv < pos < p]+ print(f" {sid:>5} after={after[:1]} before={before[-1:]}")