ncaq / google-search-title-qualified

Google will omit the title of the web page. With this add-on, the original title is used as much as possible.
MIT License
16 stars 1 forks source link

changed: timeout: 30 -> 15 #61

Closed ncaq closed 3 years ago

ncaq commented 3 years ago

3つ実行するなら長めでも良いかと思いましたが、 コンテンツ側で全て送り込んで制御しないので、 複数検索すると前の検索結果の取得を待たないと、 次の検索の結果のタイトルを取得できません。 よってタイムアウトを30秒から15秒に縮めます。

本当は見えているページのタイトル取得を優先するようにキューを作るべきなのかもしれません。 ページごとにツリーを変える幅優先的なアルゴリズムでうまくいく気がします。