gpt4 book ai didi

python - 如何列出从特定 IP 地址对维基百科进行的所有匿名(因此 IP 公开)编辑?

转载 作者:行者123 更新时间:2023-12-02 02:18:29 24 4
gpt4 key购买 nike

假设我有一个 IP 地址,例如 IP address of the Hungarian Parliament :193.224.28.151

如何获取使用此 IP 地址进行的所有 Wikipeida 编辑的列表?

关于a Tom Scott webpage ,我读到:

Here's a fact: Wikipedia stores the IP addresses of anonymous users.

Here's another fact: all of the web traffic from the Houses ofParliament is sent through one of two proxy servers — which means thatevery anonymous edit to Wikipedia from within Parliament is attributedto one of just two IP addresses.

I'm sure you can see where this is going.

我还没有找到该项目的存储库。如果可以在浏览器中或者使用 Python 来完成,那就太好了。

最佳答案

您可以使用“特殊:贡献”页面查看来自维基百科帐户、IP 地址或 IP 范围的贡献。例如,https://en.wikipedia.org/wiki/Special:Contributions/193.224.28.151列出了从 193.224.28.151 进行的编辑。您还可以查看 IP 范围内的编辑,例如 https://en.wikipedia.org/wiki/Special:Contributions/193.224.28.0/22 .

如果您希望通过维基百科的 API 查看维基百科帐户和个人 IP 地址的贡献,可以在 https://www.mediawiki.org/wiki/API:Usercontribs 获取文档和示例。

关于python - 如何列出从特定 IP 地址对维基百科进行的所有匿名(因此 IP 公开)编辑?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66796872/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com