Skip to content

Commit

Permalink
Add new zeit online mobile app
Browse files Browse the repository at this point in the history
  • Loading branch information
vanetix committed Oct 9, 2024
1 parent f21f39c commit f4a6852
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Tests/Parser/Client/fixtures/mobile_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2147,3 +2147,15 @@
type: mobile app
name: Mojeek
version: ""
-
user_agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 ZONApp/iOS/2.5.6;build:3000000110
client:
type: mobile app
name: ZEIT ONLINE
version: 2.5.6
-
user_agent: Mozilla/5.0 (Linux; Android 14; XQ-CC54 Build/65.2.A.2.179; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.146 Mobile Safari/537.36 ZONApp/Android/2.2.7
client:
type: mobile app
name: ZEIT ONLINE
version: 2.2.7
32 changes: 32 additions & 0 deletions Tests/fixtures/mobile_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1949,3 +1949,35 @@
model: iPhone
os_family: iOS
browser_family: Unknown
-
user_agent: Mozilla/5.0 (iPhone; CPU iPhone OS 17_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 ZONApp/iOS/2.5.6;build:3000000110
os:
name: iOS
version: "17.7"
platform: ""
client:
type: mobile app
name: ZEIT ONLINE
version: 2.5.6
device:
type: smartphone
brand: Apple
model: iPhone
os_family: iOS
browser_family: Unknown
-
user_agent: Mozilla/5.0 (Linux; Android 14; XQ-CC54 Build/65.2.A.2.179; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/128.0.6613.146 Mobile Safari/537.36 ZONApp/Android/2.2.7
os:
name: Android
version: "14"
platform: ""
client:
type: mobile app
name: ZEIT ONLINE
version: 2.2.7
device:
type: smartphone
brand: Sony
model: Xperia 10 IV
os_family: Android
browser_family: Unknown
5 changes: 5 additions & 0 deletions regexes/client/mobile_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2559,3 +2559,8 @@
- regex: '(?!AlohaBrowser)([^/;]*)/(\d+\.[\d.]+) \((?:iPhone|iPad); (?:iOS|iPadOS) [0-9\.]+; Scale/[0-9\.]+\)'
name: '$1'
version: '$2'

# ZEIT-Online app https://www.zeit.de/administratives/zeit-online-app-ios-android
- regex: 'ZONApp/(?:iOS|Android)/([\d\.]+)'
name: 'ZEIT ONLINE'
version: '$1'

0 comments on commit f4a6852

Please sign in to comment.