Integrate API changes (pattern.web)
还没有人认领这个 Issue。
评估
调研方向
首先运行 examples/01-web/03-bing.py、02-google-translate.py 和 11-facebook.py 中受影响的示例,然后检查相应的 pattern.web 集成。检查列出的 Bing、Google Translate、Facebook 和 Yahoo 失败情况,并确定所需的身份验证或服务变更。当受支持的示例具有明确的可行路径,或清楚报告所需的许可证密钥和不可用的服务时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Some of the APIs for services (such as Bing Search API, Google Translate API and Facebook) supported by pattern.web are deprecated, require a paid subscription or have changed in some other way.
- Bing yields
URLError: Invalid header value 'BasicO lZuSkVLNEhUbG50RTNTeUY1OFFMa1VDTHAvNzh0a1lqVjFGbDNKN2xIYTA9\n'when running the example inexamples/01-web/03-bing.py.- The Bing Search API is a paid service now.
- Google (Translate) yields
HTTP401Authentication: Google translate API is a paid servicewhen running the example inexamples/01-web/02-google-translate.py.- In fact, the Google Cloud Translation API is a paid service now and apparently has no free quota.
- Facebook yields
HTTP401Authentication:when running the example inexamples/01-web/11-facebook.py.- Seems that Facebook Graph API has changed.
- Yahoo:
HTTP401Authentication: Yahoo search API is a paid service- The BOSS JSON Search API is discontinued since March 31, 2016.
- The following services seem to work fine: Twitter, Google Search, Flickr, Wikipedia, Wikia
- I haven't checked for: DuckDuckGo (and there might be more missing!)
We should find out if any of the authentication errors are simply related to outdated tokens that simply need to be updated or if they actually require a (new) subscription. If they require a subscription, we should find out whether they offer a free quota (e.g. 100 request/day or something). If not, users will have to deal with license keys themselves, in this case we should raise some exception when no license key is provided.
- 主要语言
- Python
- 星标
- 8.9k
- 派生
- 1.6k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
clips/pattern 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 72/100
-
难度 1/5 1 小时以内 新手友好度 65/100
-
难度 1/5 1 小时以内 新手友好度 45/100
-
难度 4/5 3-5 天 新手友好度 30/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
gradio-app/gradio#13895 ·
维护者通常 1 天内回复
-
build-error
难度 2/5 1-3 小时 新手友好度 76/100
spack/spack-packages#6713 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ActivityWatch/activitywatch#1464 · 1 个 reaction ·
维护者通常 1 天内回复
-
[Bug]: The ckg tool drops the return type of every decorated Python method in class search results未关闭
难度 2/5 1-3 小时 新手友好度 78/100
bytedance/trae-agent#483 ·
维护者通常 1 天内回复