Skip to content

anbeime/skill / skills/video-creation-suite/video-creation-suite

video-creation-suite

Unverified

自媒体创作者与影片与视频编辑当需要从零原创、二次创作或深度分析视频时,请使用此套件。通过11个智能体协同,一键生成配音、音效与BGM并合成高质量视频,或自动抽帧提取分镜提示词,全流程大幅提升视频产出效率。

scripts/test_image_url.py

View on GitHub
#!/usr/bin/env python3
"""
测试单个图片URL解析
"""

import re
import requests


coze_url = "https://s.coze.cn/image/w8FwHY3qC50/"

# 发送请求获取HTML
response = requests.get(coze_url, timeout=30)
html = response.text

print("=" * 80)
print("HTML内容:")
print("=" * 80)
print(html)
print("=" * 80)
print()

# 尝试提取图片URL
patterns = [
    r'https://p\d+-coze-space-sign\.byteimg\.com/[^"\s<>]+~tplv-jv50ctfexx-compress-v2:q90\.jpeg[^"\s<>]*',
    r'https://p\d+-coze-space-sign\.byteimg\.com/[^"\s<>]+~tplv-jv50ctfexx-compress-v2:q90\.webp[^"\s<>]*',
    r'https://[^"\s<>]+\.(?:jpg|jpeg|png|webp)[^"\s<>]*',
    r'href="(https://[^"]+)"',
]

print("尝试提取图片URL:")
for i, pattern in enumerate(patterns, 1):
    match = re.search(pattern, html)
    if match:
        url = match.group(0)
        url = url.replace('&amp;', '&')
        url = url.replace('&lt;', '<')
        url = url.replace('&gt;', '>')
        url = url.replace('&quot;', '"')
        print(f"  模式 {i}: {url}")
    else:
        print(f"  模式 {i}: 未匹配")

print()
print("所有http/https链接:")
all_urls = re.findall(r'https?://[^\s<>"]+', html)
for url in all_urls[:10]:
    print(f"  {url}")
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall