用途:从指定 LinkedIn 帖子的评论者中提取线索信息,包括姓名、头衔、公司、LinkedIn 个人主页链接和评论文本,用于发现正在互动的潜在客户。
主要能力:支持单个或多个帖子 URL;可限制每帖提取的评论数(默认 100);输出格式为 json、csv 或 summary;跨多帖按 LinkedIn 主页去重;尝试将 headline 拆分为单独的 title 和 company 字段。通过 Apify 的 harvestapi~linkedin-post-comments actor 实现,无需 LinkedIn Cookie 或登录。
使用方式:需安装 requests 并设置 APIFY_API_TOKEN 环境变量。基本命令:python3 skills/linkedin-commenter-extractor/scripts/extract_commenters.py --post-url "POST_URL"。多帖可重复 --post-url;用 --max-comments 50 限制数量;--output json/csv/summary 选择格式;--dedup 去重。其他参数:--token(覆盖环境变量)、--timeout(默认 120 秒)。
输出字段:name、headline、title、company、linkedin_url、comment_text、post_url、profile_image_url。
限制:依赖 Apify actor,按约每 1000 条评论 2 美元计费;不提供 Cookie 登录方式;未提供关于提取准确率、速度或配额上限的说明。