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

Offen
#349 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
backend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Python
Sterne
1k
Forks
132
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus linuxmint/webapp-manager

Alle Issues in linuxmint/webapp-manager

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.