![]() |
孤独的火龙果 · 【聚焦】北斗导航高精度定位在自行车赛事保障中 ...· 1 年前 · |
![]() |
潇洒的野马 · 配置VScode编辑LaTeX及正反向搜索等 ...· 1 年前 · |
![]() |
坏坏的灌汤包 · Web 文件管理器elFinder ...· 1 年前 · |
![]() |
私奔的青椒 · androidstudio查看数据库 ...· 1 年前 · |
![]() |
面冷心慈的花卷 · TEM晶格条纹测量软件(Digital ...· 1 年前 · |
我正在使用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
扫码关注腾讯云开发者
领取腾讯云代金券