微博 · 舆情分析

微博舆情数据怎么整理?从关键词监测到分析表

· 马哥数据采集

从关键词分组、时间范围设定,到博文与评论采集、字段核对和报告呈现,附字段表、常见报错与合规提示。

一、先明确舆情监测目标

微博数据可以回答三类问题:品牌或事件的声量变化、用户讨论的主题分布、竞品之间的表现差异。目标不同,关键词、时间范围和字段都不一样;先写清楚要回答的问题,再决定采多少。

二、设计关键词与时间范围

  1. 核心词加同义词、缩写、品牌别名和常见错写,减少漏采。
  2. 准备排除词,过滤明显无关的内容。
  3. 按事件阶段分时间段检索,并记录每次使用的检索式。

三、采集步骤

微博关键词搜索采集界面
图 1:选择关键词微博采集,输入关键词和时间范围。
  1. 打开软件,选择关键词微博、主页微博、评论或用户信息模块。
  2. 输入关键词、博文链接或主页链接,设置时间范围和页数。
  3. 选择保存目录,开始执行。
  4. 结束后查看 CSV 和 logs 日志。

四、采集哪些字段

层级字段用途
博文博文链接、作者、发布时间、正文、话题标签声量与主题分析
互动转发数、评论数、点赞数传播表现参考
地域IP 属地(如导出含该字段)地域分布
评论评论者、评论内容、评论时间、点赞数、评论级别反馈与情绪分析
用户主页、认证、粉丝数、简介账号画像与影响力判断

转发、评论、点赞的口径要提前确认,跨平台对比时尤其不能混用。

五、导出后的检查

微博关键词搜索结果
图 2:导出后的关键词搜索结果,可以按时间、关键词和互动数据筛选。
  1. 删除重复博文和重复评论,保留原始备份。
  2. 检查时间范围、空值、乱码和字段错位。
  3. 抽样打开原博文,核对正文、互动数据和评论。
  4. 把明显营销号、无关话题单独标记,不要直接删除。

六、常见报错与排查

结果重复或范围不对

检查检索式和分页逻辑,确认时间范围;同一关键词分多次采集时,先去重再合并。

评论为空

评论区可能关闭、博文被删除或仅部分可见;先确认博文能正常打开。

导出乱码

用 UTF-8 打开 CSV;如果 Excel 直接双击乱码,改用「数据 → 从文本/CSV」导入。

登录失效

重新登录软件,按当前版本说明刷新登录态;避免频繁切换账号。

七、合规提示

只处理公开可见的博文和评论,控制采集频率,遵守平台规则和适用法律。舆情数据可能包含个人信息和未经证实的说法,引用时保留原文链接,避免断章取义,也不要公开传播可识别个人身份的信息。

八、常见问题

能按时间范围采集吗?

可以,在关键词搜索时设置起止时间,结果会按当前版本支持的范围返回。

能采用户信息吗?

支持按主页链接采集公开的用户资料字段。

能直接导出 Excel 吗?

默认导出 CSV,可用 Excel 打开或导入后再另存。

采集频率怎么控制?

建议分批、低频执行,既降低中断概率,也更符合平台规则。

延伸:从数据到舆情结论

先看声量趋势和时间节点,再做主题分类和情绪标注,最后保留代表性博文和评论原文。互动量受账号体量和发布时间影响,只能作为参考;报告中给出样本和口径,比给一个绝对数字更可信。

相关工具

需要批量采集时,可以用对应工具导出 CSV,再做清洗和分析。

查看微博聚合采集 →

关注公众号「老男孩的平凡之路」,回复「微博」获取使用说明。

九、三个常见误区

只看声量不看样本;把转发当成支持;忽略营销号和水军。舆情结论要给出时间窗口、样本量和代表性原文,避免用单条博文下判断。

十、把结果做成可复用的周报

固定三块:监测范围和检索式、声量与主题变化、代表性样本和下一步动作。把检索式、导出文件和清洗规则留档,下一期才能对比。

危机事件按小时级更新,常规监测按天或周即可;频率要和事件阶段匹配,避免用高频采集制造“热度上升”的错觉。

十一、样本够不够,怎么判断

不看总数,看是否覆盖主要关键词、时间阶段和账号类型;如果只有大 V、没有普通用户,声量结论会偏。先补样本,再比较不同层级账号的表现。

保留一份「未采用样本」清单,记录被排除的原因(重复、营销号、无关),复核时能解释排除口径;同时保留原文链接,避免断章取义。

样本量没有统一标准,但结论越强,要求的样本就越多;危机事件尤其要写清时间窗口。

最后提醒:舆情结论要能回到原文,任何数字都应能找到对应的样本;没有样本支撑的「趋势」,不要写进报告,也不要口头汇报。

← 返回技术博客
微博 · 舆情分析

微博舆情数据怎么整理?从关键词监测到分析表

· Mage Data Tools

从关键词分组、时间范围设定,到博文与评论采集、字段核对和报告呈现,附字段表、常见报错与合规提示。

1. Define the Monitoring Goal

Weibo data can answer three questions: how volume changes for a brand or event, which themes users discuss, and how competitors compare. Each goal needs different keywords, time windows, and fields.

2. Design Keywords and Time Windows

  1. Combine core terms with synonyms, abbreviations, brand aliases, and common misspellings.
  2. Prepare exclusion terms to filter irrelevant posts.
  3. Search in stages across the event timeline and record each query.

3. Collection Steps

Weibo keyword search interface
Figure 1: choose keyword search, enter the keyword and date range.
  1. Open the tool and choose a module.
  2. Enter a keyword, post URL, or profile URL, and set the date range and pages.
  3. Choose the output folder and start.
  4. Check the CSV and logs when it finishes.

4. Fields to Keep

LayerFieldsUse
PostURL, author, publish time, text, hashtagsVolume and themes
EngagementReposts, comments, likesSpread reference
RegionIP location, if exportedRegional distribution
CommentsCommenter, text, time, likes, levelFeedback and sentiment
UserProfile, verification, followers, bioInfluence and profiling

Confirm how reposts, comments, and likes are counted before comparing platforms.

5. Check the Export

Weibo keyword search results
Figure 2: exported keyword search results can be filtered by date, keyword, and engagement.
  1. Remove duplicate posts and comments and keep a raw backup.
  2. Check the date range, empty values, encoding, and field alignment.
  3. Open sample posts to verify text, engagement, and comments.
  4. Flag marketing accounts and off-topic posts instead of deleting them.

6. Common Errors

Duplicates or wrong range

Check the query and paging, confirm the date range, and deduplicate before merging multiple runs.

No comments

The comment section may be closed, the post deleted, or only partly visible.

Garbled CSV

Open it as UTF-8, or import it through Excel's From Text/CSV instead of double-clicking.

Login expires

Log in again and refresh the session as described in the current version notes.

7. Compliance

Only process public posts and comments, keep request rates reasonable, and follow platform rules and applicable laws. Public-opinion data may include personal information and unverified claims; keep original links and avoid quoting out of context.

8. FAQ

Can I set a date range?

Yes, set the start and end date when searching by keyword.

Can I collect user profiles?

Yes, public profile fields can be collected from profile URLs.

Can I export Excel directly?

CSV is exported by default; open or import it in Excel and save as needed.

How should I control frequency?

Collect in small batches at a low rate to reduce interruptions and stay within platform rules.

Extend: From Data to a Conclusion

Start with volume trends and key dates, then add themes and sentiment, and keep representative posts and comments. Engagement depends on account size and timing, so report the method and samples rather than a single absolute number.

Related Tool

For bulk collection, use the related tool to export CSV, then clean and analyze it.

View the Weibo tool →

Follow the WeChat account 老男孩的平凡之路 for setup notes.

9. Three Common Mistakes

Reporting volume without samples, treating reposts as support, and ignoring marketing or coordinated accounts. State the time window, sample size, and representative posts behind every conclusion.

10. A Reusable Weekly Report

Keep three blocks: the monitoring scope and queries, volume and theme changes, and representative samples with next actions. Archive the queries, exports, and cleaning rules so the next period can be compared.

Update hourly during a crisis and daily or weekly for routine monitoring; match the cadence to the event stage.

11. Is the Sample Enough?

Check coverage across keywords, time periods, and account types, not just volume. If only large accounts are included, the volume conclusion will be biased; add ordinary users before comparing tiers.

Keep a list of excluded records with reasons (duplicate, marketing account, irrelevant) and keep original links so quotes are not taken out of context.

There is no universal sample size; stronger conclusions need more data, and crisis reports should state the exact time window.

Every conclusion should trace back to original posts and samples; avoid reporting trends without evidence.

← Back to the technical blog