Skip to content

Commit

Permalink
Don't need to count applecoremedia as bot
Browse files Browse the repository at this point in the history
  • Loading branch information
cavis committed Dec 10, 2020
1 parent 2b5acf5 commit f8f2848
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 10 deletions.
12 changes: 10 additions & 2 deletions db/agents.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
],
Expand Down
3 changes: 2 additions & 1 deletion db/agents.lock.js
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
8 changes: 7 additions & 1 deletion db/agents.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 5 additions & 1 deletion db/agents.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
9 changes: 7 additions & 2 deletions db/agents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 10 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1533,11 +1533,18 @@ <h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">Apple
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title"><code>/^(AppleCoreMedia.+Apple Watch|atc.+watchOS|\(null\).+watchOS)/</code></h5>
<h5 class="card-title"><code>/^AppleCoreMedia.+Apple Watch/</code></h5>
<h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">Apple Podcasts</span><span class="badge badge-pill badge-success">Smart Watch</span><span class="badge badge-pill badge-info">WatchOS</span>
</h6><code class="examples">AppleCoreMedia/1.0.0.16S535 (Apple Watch; U; CPU OS 5_1_3 like Mac OS X; en_us)
</code>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title"><code>/^(atc.+watchOS|\(null\).+watchOS)/</code></h5>
<h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">Apple Podcasts</span><span class="badge badge-pill badge-success">Smart Watch</span><span class="badge badge-pill badge-info">WatchOS</span><span class="badge badge-pill badge-danger">bot</span>
</h6>
<p class="card-text">Marked as bot (don't count downloads) per IAB guidelines,https://iabtechlab.com/blog/apple-watch-os-podcast-filtering-guidance/</p><code class="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)
<p class="card-text">Marked as bot (don't count downloads) per IAB guidelines,https://iabtechlab.com/blog/apple-watch-os-podcast-filtering-guidance/</p><code class="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)
</code>
</div>
Expand Down

0 comments on commit f8f2848

Please sign in to comment.