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

Ouverte
#349 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
python
Domaine
backend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Python
Étoiles
1k
Forks
132
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de linuxmint/webapp-manager

Toutes les issues de linuxmint/webapp-manager

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.