Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Integrate API changes (pattern.web)

オープン
#181 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

まず examples/01-web/03-bing.py、02-google-translate.py、11-facebook.py の影響を受ける例を実行し、対応する pattern.web 統合を確認します。記載されている Bing、Google Translate、Facebook、Yahoo の失敗を確認し、必要な認証またはサービスの変更を特定します。対応している例に動作する明確な経路が定義されているか、必要なライセンスキーと利用できないサービスが明確に報告されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement help

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.

  1. Bing yields URLError: Invalid header value 'BasicO lZuSkVLNEhUbG50RTNTeUY1OFFMa1VDTHAvNzh0a1lqVjFGbDNKN2xIYTA9\n' when running the example in examples/01-web/03-bing.py.
  2. Google (Translate) yields HTTP401Authentication: Google translate API is a paid service when running the example in examples/01-web/02-google-translate.py.
    • In fact, the Google Cloud Translation API is a paid service now and apparently has no free quota.
  3. Facebook yields HTTP401Authentication: when running the example in examples/01-web/11-facebook.py.
    • Seems that Facebook Graph API has changed.
  4. 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

clips/pattern のほかの issue

clips/pattern の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。