From f8f2848d7dc8061742a7bf2148049df61d31f77b Mon Sep 17 00:00:00 2001 From: cavis Date: Thu, 10 Dec 2020 15:01:27 -0700 Subject: [PATCH] Don't need to count applecoremedia as bot --- db/agents.json | 12 ++++++++++-- db/agents.lock.js | 3 ++- db/agents.lock.json | 8 +++++++- db/agents.lock.yml | 6 +++++- db/agents.yml | 9 +++++++-- docs/index.html | 13 ++++++++++--- 6 files changed, 41 insertions(+), 10 deletions(-) diff --git a/db/agents.json b/db/agents.json index 7f5b1c1..2539fd1 100644 --- a/db/agents.json +++ b/db/agents.json @@ -1711,13 +1711,21 @@ ] }, { - "regex": "^(AppleCoreMedia.+Apple Watch|atc.+watchOS|\\(null\\).+watchOS)", + "regex": "^AppleCoreMedia.+Apple Watch", + "name": "Apple Podcasts", + "type": "Smart Watch", + "os": "WatchOS", + "examples": [ + "AppleCoreMedia/1.0.0.16S535 (Apple Watch; U; CPU OS 5_1_3 like Mac OS X; en_us)" + ] + }, + { + "regex": "^(atc.+watchOS|\\(null\\).+watchOS)", "bot": true, "name": "Apple Podcasts", "type": "Smart Watch", "os": "WatchOS", "examples": [ - "AppleCoreMedia/1.0.0.16S535 (Apple Watch; U; CPU OS 5_1_3 like Mac OS X; en_us)", "atc/1.0 watchOS/5.1.3 model/Watch3,3 hwp/t8004 build/16S535 (6; dt:155)", "(null)/(null) watchOS/5.0.1 model/Watch3,3 hwp/t8004 build/16R381 (6; dt:155)" ], diff --git a/db/agents.lock.js b/db/agents.lock.js index 4cbf65f..1d0d6e7 100644 --- a/db/agents.lock.js +++ b/db/agents.lock.js @@ -173,7 +173,8 @@ exports.agents = [ [/^(AppleCoreMedia.+Apple TV|apple;apple_tv)/, 25, 38, 43], [/^AppleCoreMedia.+(Audio Accessory|HomePod)/, 25, 37, 43], [/^AppleCoreMedia.+(iPhone|iPad|iPod)/, 25, 36, 43], - [/^(AppleCoreMedia.+Apple Watch|atc.+watchOS|\(null\).+watchOS)/, 25, 68, 69, true], + [/^AppleCoreMedia.+Apple Watch/, 25, 68, 69], + [/^(atc.+watchOS|\(null\).+watchOS)/, 25, 68, 69, true], [/^AppleCoreMedia.+Macintosh/, 12, 35, 45], [/^Mozilla\/5\.0.+Android.+GSA\//, 62, 36, 42], [/^(Mozilla\/5\.0.+iPhone.+GSA\/)|(GooglePodcasts.+(iPhone|iPad))/, 62, 36, 43], diff --git a/db/agents.lock.json b/db/agents.lock.json index 73c72ec..b09d4e2 100644 --- a/db/agents.lock.json +++ b/db/agents.lock.json @@ -1010,7 +1010,13 @@ "os": "43" }, { - "regex": "^(AppleCoreMedia.+Apple Watch|atc.+watchOS|\\(null\\).+watchOS)", + "regex": "^AppleCoreMedia.+Apple Watch", + "name": "25", + "type": "68", + "os": "69" + }, + { + "regex": "^(atc.+watchOS|\\(null\\).+watchOS)", "bot": true, "name": "25", "type": "68", diff --git a/db/agents.lock.yml b/db/agents.lock.yml index 4149c84..9838166 100644 --- a/db/agents.lock.yml +++ b/db/agents.lock.yml @@ -660,7 +660,11 @@ agents: name: '25' type: '36' os: '43' - - regex: ^(AppleCoreMedia.+Apple Watch|atc.+watchOS|\(null\).+watchOS) + - regex: ^AppleCoreMedia.+Apple Watch + name: '25' + type: '68' + os: '69' + - regex: ^(atc.+watchOS|\(null\).+watchOS) bot: true name: '25' type: '68' diff --git a/db/agents.yml b/db/agents.yml index 8f279b5..00ca31c 100644 --- a/db/agents.yml +++ b/db/agents.yml @@ -1183,13 +1183,18 @@ agents: - AppleCoreMedia/1.0.0.16D57 (iPhone; U; CPU OS 12_1_4 like Mac OS X; en_us) - AppleCoreMedia/1.0.0.16D57 (iPad; U; CPU OS 12_1_4 like Mac OS X; en_us) - AppleCoreMedia/1.0.0.16D57 (iPod touch; U; CPU OS 12_1_4 like Mac OS X; en_us) - - regex: '^(AppleCoreMedia.+Apple Watch|atc.+watchOS|\(null\).+watchOS)' - bot: true + - regex: '^AppleCoreMedia.+Apple Watch' name: Apple Podcasts type: Smart Watch os: WatchOS examples: - AppleCoreMedia/1.0.0.16S535 (Apple Watch; U; CPU OS 5_1_3 like Mac OS X; en_us) + - regex: '^(atc.+watchOS|\(null\).+watchOS)' + bot: true + name: Apple Podcasts + type: Smart Watch + os: WatchOS + examples: - atc/1.0 watchOS/5.1.3 model/Watch3,3 hwp/t8004 build/16S535 (6; dt:155) - (null)/(null) watchOS/5.0.1 model/Watch3,3 hwp/t8004 build/16R381 (6; dt:155) notes: diff --git a/docs/index.html b/docs/index.html index 81ac83e..93474df 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1533,11 +1533,18 @@
Apple
-
/^(AppleCoreMedia.+Apple Watch|atc.+watchOS|\(null\).+watchOS)/
+
/^AppleCoreMedia.+Apple Watch/
+
Apple PodcastsSmart WatchWatchOS +
AppleCoreMedia/1.0.0.16S535 (Apple Watch; U; CPU OS 5_1_3 like Mac OS X; en_us) + +
+
+
+
+
/^(atc.+watchOS|\(null\).+watchOS)/
Apple PodcastsSmart WatchWatchOSbot
-

Marked as bot (don't count downloads) per IAB guidelines,https://iabtechlab.com/blog/apple-watch-os-podcast-filtering-guidance/

AppleCoreMedia/1.0.0.16S535 (Apple Watch; U; CPU OS 5_1_3 like Mac OS X; en_us) -atc/1.0 watchOS/5.1.3 model/Watch3,3 hwp/t8004 build/16S535 (6; dt:155) +

Marked as bot (don't count downloads) per IAB guidelines,https://iabtechlab.com/blog/apple-watch-os-podcast-filtering-guidance/

atc/1.0 watchOS/5.1.3 model/Watch3,3 hwp/t8004 build/16S535 (6; dt:155) (null)/(null) watchOS/5.0.1 model/Watch3,3 hwp/t8004 build/16R381 (6; dt:155)