Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
你好我想问一个关于使用 Twint 库从 Twitter 上抓取推文的问题
基本上,要从特定位置抓取推文,需要放置由“纬度、经度、半径”组成的地理编码数据
所以我的问题是如何在整个印度尼西亚抓取推文?如果我需要使用地理编码,那么坐标将coor_ind = '4.2105, 101.9758, radius(km) 如何确定覆盖整个印度尼西亚的半径?
coor_ind = '4.2105, 101.9758, radius(km)
首先,您可能不会收到每条推文——因为有些推文上可能没有位置。
但是您可以将c.near用于印度尼西亚的城市。
c.near
这篇 Medium 文章中提供了一个示例。