使用stackexchange-api,每个IP都有一个阈值,直到10000。
超过该上限后,出现错误:
Error in stack_parse(req) :
Error 502: too many requests from this IP, more requests available in 69609 seconds
如何有访问令牌才能不具有该限制?
library(stackr)
Sys.setenv(STACK_EXCHANGE_KEY = "mykey")
pythontag <- stack_questions(tagged="python", num_pages=10000, pagesize=100, filter="!UHY-aKsFJ(KvceZ5uauvQDp9b_ZwAQaEY0KwVy4Czncd97-22tonZWvDXfhmP(X*Baz8J0uC0Q")