Getting Favicon for pages with redirects like maps.google.com fails

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
backend

調査の方向性

Read the favicon grabber entry point and the related issue #340 to understand how redirects are handled. Compare the current result for maps.google.com with the proposed Google Favicons API approach; the issue says a merge request is already in progress. Done means Maps pages return the Maps favicon instead of the generic Google icon, with the approach agreed on and covered by a check.

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

説明

When trying to download the Favicon for maps.google.com, it doesn't find the Maps icon. Instead it shows the generic Google icon.

The problem seems to be with Google's redirect to their cookie consent page, which has a generic Google Favicon. The grabber thinks it is the requested site and returns that icon.

A possible fix is incorporating the Google Favicons API, which bypasses such problems if you pass the direct URL into it. I am aware that Google is not really an Open-Source friendly company, but I believe that the simplicity and reliability of their API make the usage worth it. Of course this not being fitting from an ideological standpoint is totally valid. The API does not seem to have any license denying use in other projects. I am working on a merge request to add that feature currently.

related to https://github.com/linuxmint/webapp-manager/issues/340

主要言語
Python
スター
1k
フォーク
132
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

linuxmint/webapp-manager のほかの issue

linuxmint/webapp-manager の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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