crawl_config.json 5.8 KB
{
  "skill_name": "clickbait_copywriter",
  "version": "1.0.0",
  "description": "爆款标题与诱导性文案创作的持续监控配置:追踪各平台热点榜、运营拆解博客及情绪词库变化",
  "schedule": {
    "default_interval_seconds": 3600,
    "hot_platforms_interval_seconds": 1800,
    "blogs_interval_seconds": 86400
  },
  "compliance": {
    "robots_txt_obey": true,
    "request_delay_seconds": 2,
    "respect_rate_limits": true,
    "user_agent": "Mozilla/5.0 (compatible; ArenaSK-Hunter/1.0)"
  },
  "sources": [
    {
      "name": "weibo_hot_search",
      "platform": "微博",
      "type": "api",
      "url": "https://weibo.com/ajax/side/hotSearch",
      "method": "GET",
      "headers": {
        "Accept": "application/json",
        "Referer": "https://weibo.com/hot/search"
      },
      "parse_rule": {
        "type": "json",
        "path": "data.realtime",
        "fields": {
          "rank": "rank",
          "title": "word",
          "category": "category",
          "hot_value": "raw_hot"
        }
      },
      "interval_seconds": 1800,
      "notes": "采集热搜标题用于情绪词/热点借势分析"
    },
    {
      "name": "xiaohongshu_trending",
      "platform": "小红书",
      "type": "web",
      "url": "https://www.xiaohongshu.com/explore",
      "method": "GET",
      "headers": {
        "Accept": "text/html",
        "Cookie": "可选:登录态Cookie"
      },
      "parse_rule": {
        "type": "regex",
        "patterns": [
          "data-title=\"([^\"]+)\"",
          "<span class=\"title\">([^<]+)</span>"
        ]
      },
      "interval_seconds": 3600,
      "notes": " trending 页热门笔记标题采集(需反爬策略迭代)"
    },
    {
      "name": "bilibili_ranking",
      "platform": "B站",
      "type": "api",
      "url": "https://api.bilibili.com/x/web-interface/ranking/v2",
      "method": "GET",
      "headers": {
        "Accept": "application/json",
        "Referer": "https://www.bilibili.com"
      },
      "parse_rule": {
        "type": "json",
        "path": "data.list",
        "fields": {
          "rank": "rank",
          "title": "title",
          "author": "owner.name",
          "view_count": "stat.view",
          "category": "tname"
        }
      },
      "interval_seconds": 3600,
      "notes": "全站排行榜视频标题与分区标签采集"
    },
    {
      "name": "douyin_hotspot",
      "platform": "抖音",
      "type": "web",
      "url": "https://www.douyin.com/hot",
      "method": "GET",
      "headers": {
        "Accept": "text/html"
      },
      "parse_rule": {
        "type": "regex",
        "patterns": [
          "title=\"([^\"]+)\"",
          "<p[^>]*>([^<]+)</p>"
        ]
      },
      "interval_seconds": 1800,
      "notes": "抖音热榜标题采集(需处理 JS 渲染)"
    },
    {
      "name": "woshipm_xiaohongshu_cases",
      "platform": "运营博客",
      "type": "web",
      "url": "https://www.woshipm.com/operate",
      "method": "GET",
      "headers": {
        "Accept": "text/html"
      },
      "parse_rule": {
        "type": "css_selector",
        "article_selector": ".article-item",
        "fields": {
          "title": "h2 a",
          "url": "h2 a@href",
          "summary": ".summary",
          "publish_time": ".time"
        }
      },
      "interval_seconds": 86400,
      "filter_keywords": ["小红书", "爆款", "标题", "文案", "拆解", "运营"],
      "notes": "人人都是产品经理运营板块,筛选爆款文案拆解文章"
    },
    {
      "name": "yunyingpai_xhs",
      "platform": "运营博客",
      "type": "web",
      "url": "https://www.yunyingpai.com/xhs",
      "method": "GET",
      "headers": {
        "Accept": "text/html"
      },
      "parse_rule": {
        "type": "css_selector",
        "article_selector": "article.post",
        "fields": {
          "title": "h2 a",
          "url": "h2 a@href",
          "publish_time": "time"
        }
      },
      "interval_seconds": 86400,
      "filter_keywords": ["小红书", "爆款", "标题", "文案"],
      "notes": "运营派小红书专栏"
    },
    {
      "name": "marketingblocks_hooks",
      "platform": "英文营销博客",
      "type": "web",
      "url": "https://www.marketingblocks.ai/50-viral-hook-templates-for-ads-reels-tiktok-or-captions-2026-frameworks-examples-ai-prompts-included/",
      "method": "GET",
      "headers": {
        "Accept": "text/html"
      },
      "parse_rule": {
        "type": "css_selector",
        "article_selector": "article",
        "fields": {
          "title": "h1",
          "content": ".entry-content"
        }
      },
      "interval_seconds": 604800,
      "notes": "英文 viral hook 模板库,供跨平台国际化文案参考"
    },
    {
      "name": "vibemyad_hooks",
      "platform": "英文营销博客",
      "type": "web",
      "url": "https://www.vibemyad.com/blog/the-ad-hook-formula-that-increased-ctr-by-180",
      "method": "GET",
      "headers": {
        "Accept": "text/html"
      },
      "parse_rule": {
        "type": "css_selector",
        "article_selector": "article",
        "fields": {
          "title": "h1",
          "content": ".post-content"
        }
      },
      "interval_seconds": 604800,
      "notes": "CTR hook 测试数据与案例"
    }
  ],
  "output_schema": {
    "seed_data": {
      "required_fields": [
        "id",
        "platform",
        "title",
        "author",
        "category",
        "data_metrics",
        "source_url",
        "crawl_time"
      ]
    }
  },
  "notes": [
    "所有 web  scraping 必须遵守目标站点的 robots.txt。",
    "抖音、小红书等平台的反爬机制较强,建议结合 yt-dlp 或官方 API 降级方案。",
    "热点榜数据建议每 30 分钟同步一次,运营博客建议每日同步一次。"
  ]
}