diff --git a/.gitignore b/.gitignore index 0f0a55a..e0b0ecb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.pyc /*.egg-info +settings.json diff --git a/httpagentparser/__init__.py b/httpagentparser/__init__.py index 1b390e7..8167bba 100644 --- a/httpagentparser/__init__.py +++ b/httpagentparser/__init__.py @@ -184,10 +184,15 @@ class Trident(Browser): def getVersion(self, agent, word): return self.trident_to_ie_versions.get(super(Trident, self).getVersion(agent, word)) +# Microsoft Outlook 16.0.4861 +class Outlook(Browser): + look_for = "Microsoft Outlook" + version_markers = [(" ", ";")] + class MSIE(Browser): look_for = "MSIE" - skip_if_found = ["Opera"] + skip_if_found = ["Opera", "Outlook"] name = "Microsoft Internet Explorer" version_markers = [" ", ";"]