|
|
神勇威武的豆浆 · 使用element upload上传组件如何 ...· 1 年前 · |
|
|
细心的手电筒 · hive sql过滤文本中有英文的 ...· 1 年前 · |
|
|
千杯不醉的红烧肉 · 【NLP】关系提取方法之CNN+BiGRU_ ...· 2 年前 · |
|
|
体贴的牛腩 · VMware vSphere ...· 2 年前 · |
|
|
踏实的韭菜 · oracle like模糊查询 ...· 2 年前 · |
我正在使用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'})
我该如何解决这个问题呢?非常感谢!
通过pip install运行升级命令后,您应该重新启动python内核并重新加载pytrend库。
Copyright © 2013 - 2023 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号: 粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
扫码关注腾讯云开发者
领取腾讯云代金券