mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-05 12:45:47 -07:00
Bump httpagentparser from 1.9.2 to 1.9.5 (#1869)
* Bump httpagentparser from 1.9.2 to 1.9.5 Bumps [httpagentparser](https://github.com/shon/httpagentparser) from 1.9.2 to 1.9.5. - [Release notes](https://github.com/shon/httpagentparser/releases) - [Commits](https://github.com/shon/httpagentparser/commits) --- updated-dependencies: - dependency-name: httpagentparser dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Update httpagentparser==1.9.5 Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> [skip ci]
This commit is contained in:
parent
d26ce224ce
commit
c2f47a52b4
2 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@ Tries to
|
|||
* assist python web apps to detect clients.
|
||||
"""
|
||||
|
||||
__version__ = '1.9.2'
|
||||
__version__ = '1.9.5'
|
||||
|
||||
|
||||
class DetectorsHub(dict):
|
||||
|
@ -218,7 +218,7 @@ class WOSBrowser(Browser):
|
|||
|
||||
class Safari(Browser):
|
||||
look_for = "Safari"
|
||||
skip_if_found = ["Edge", "YaBrowser"]
|
||||
skip_if_found = ["Edge", "YaBrowser", "FxiOS"]
|
||||
|
||||
def checkWords(self, agent):
|
||||
unless_list = ["Chrome", "OmniWeb", "wOSBrowser", "Android", "CriOS"]
|
||||
|
@ -408,7 +408,7 @@ class AndroidBrowser(Browser):
|
|||
|
||||
|
||||
class Firefox(Browser):
|
||||
look_for = "Firefox"
|
||||
look_for = ["Firefox", "FxiOS"]
|
||||
version_markers = [('/', '')]
|
||||
skip_if_found = ["SeaMonkey", "web/snippet"]
|
||||
|
||||
|
@ -557,7 +557,7 @@ class Chrome(Browser):
|
|||
part = agent.split(word + self.version_markers[0])[-1]
|
||||
version = part.split(self.version_markers[1])[0]
|
||||
if '+' in version:
|
||||
version = part.split('+')[0]
|
||||
version = version.split('+')[0]
|
||||
return version.strip()
|
||||
|
||||
class YaBrowser(Browser):
|
||||
|
@ -569,7 +569,7 @@ class YaBrowser(Browser):
|
|||
part = agent.split(word + self.version_markers[0])[-1]
|
||||
version = part.split(self.version_markers[1])[0]
|
||||
if '+' in version:
|
||||
version = part.split('+')[0]
|
||||
version = version.split('+')[0]
|
||||
return version.strip()
|
||||
|
||||
class ChromeiOS(Browser):
|
||||
|
|
|
@ -16,7 +16,7 @@ facebook-sdk==3.1.0
|
|||
future==0.18.2
|
||||
gntp==1.0.3
|
||||
html5lib==1.1
|
||||
httpagentparser==1.9.2
|
||||
httpagentparser==1.9.5
|
||||
idna==3.4
|
||||
importlib-metadata==5.0.0
|
||||
importlib-resources==5.10.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue