用置顶帖举例,URL 是这样的:https://linux.do/t/topic/1472371

/t/slug 替换为 /raw,即是 https://linux.do/raw/1472371

单次有~100 个帖子,添加 ?page=2 这样的参数用于翻页,这样 https://linux.do/raw/1472371?page=2

对于特定的单个帖子,id 的取值是 1..,只需要加上 /id 即可查看这个帖子的原始内容,如 https://linux.do/raw/1472371/1


📌 转载信息
原作者:
wisdgod
转载时间:
2026/1/18 08:41:22

标签: Web Scraping, URL Manipulation, API Endpoints, Forum Data, Data Export

添加新评论