我正在使用Pytrends提取Google趋势数据,比如:
from pytrends.request import TrendReq
pytrend = TrendReq()
pytrend.build_payload(kw_list=['bitcoin'], cat=0, timeframe=from_date+' '+today_date)
它返回一个错误:
ResponseError: The request failed: Google returned a response with code 429.
我昨天做的,但不知为什么现在不行了!来自github的源代码也失败:
pytrends = TrendReq(hl='en-US', tz=360, proxies = {'https': 'https://34.203.233.13:80'})
我该怎么解决?谢谢!
目前没有回答
相关问题 更多 >
编程相关推荐