Skip to main content
 首页 » 编程设计

python之如何处理 Google 群组讨论抓取工具

2025年05月04日13kevingrace

作为 RSS 练习,我希望能够搜索该组中几乎所有的 Unix 讨论。

comp.unix.shell

我对 Python 有足够的了解并了解基本的 RSS,但我仍然坚持......我如何获取特定日期之间的所有消息,或者至少是最近第 N 次和最近 M 次之间的所有消息?

高级描述,欢迎使用伪代码。

谢谢!

编辑:

我希望能够返回超过 100 条消息,但不要像使用此 URL 那样一次解析 10 条消息:

http://groups.google.com/group/comp.unix.shell/topics?hl=en&start=2000&sa=N

一定有更好的方法。

请您参考如下方法:

抓取谷歌群组违反了Google's Terms of Service ,特别是短语:

use any robot, spider, site search/retrieval application, or other device to retrieve or index any portion of the Service or collect information about users for any unauthorized purpose

您确定要公开宣布您这样做吗?您对结果的后果视而不见吗?