Skip to content

Commit

Permalink
Merge pull request #20 from PRX/feat/pandora_desktop
Browse files Browse the repository at this point in the history
Pandora desktop
  • Loading branch information
kookster committed Nov 12, 2019
2 parents 5c03bfb + 0c286d6 commit 79d9c48
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 9 deletions.
18 changes: 18 additions & 0 deletions db/agents.json
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,24 @@
"Pandora/2100 CFNetwork/978.0.7 Darwin/18.6.0"
]
},
{
"regex": "^Mozilla.+Windows.+PandoraApp",
"name": "Pandora",
"type": "Desktop App",
"os": "Windows",
"examples": [
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.128 Electron/4.2.10 Safari/537.36 PandoraApp/15.0.2"
]
},
{
"regex": "^Mozilla.+Macintosh.+PandoraApp",
"name": "Pandora",
"type": "Desktop App",
"os": "macOS",
"examples": [
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.128 Electron/4.2.10 Safari/537.36 PandoraApp/15.0.1"
]
},
{
"regex": "^Playapod.+CFNetwork",
"name": "Playapod",
Expand Down
2 changes: 2 additions & 0 deletions db/agents.lock.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ exports.agents = [
[/^Pandora.+Android/, 82, 36, 42],
[/^Mozilla.+(iPad|iPhone).+Pandora/, 82, 36, 43],
[/^Pandora.+CFNetwork/, 82, 36, 43],
[/^Mozilla.+Windows.+PandoraApp/, 82, 35, 41],
[/^Mozilla.+Macintosh.+PandoraApp/, 82, 35, 45],
[/^Playapod.+CFNetwork/, 112, 36, 43],
[/^Playapod.+Android/, 112, 36, 42],
[/^Player( |%20)FM.+CFNetwork/, 15, 36, 43],
Expand Down
12 changes: 12 additions & 0 deletions db/agents.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,18 @@
"type": "36",
"os": "43"
},
{
"regex": "^Mozilla.+Windows.+PandoraApp",
"name": "82",
"type": "35",
"os": "41"
},
{
"regex": "^Mozilla.+Macintosh.+PandoraApp",
"name": "82",
"type": "35",
"os": "45"
},
{
"regex": "^Playapod.+CFNetwork",
"name": "112",
Expand Down
8 changes: 8 additions & 0 deletions db/agents.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,14 @@ agents:
name: '82'
type: '36'
os: '43'
- regex: ^Mozilla.+Windows.+PandoraApp
name: '82'
type: '35'
os: '41'
- regex: ^Mozilla.+Macintosh.+PandoraApp
name: '82'
type: '35'
os: '45'
- regex: ^Playapod.+CFNetwork
name: '112'
type: '36'
Expand Down
12 changes: 12 additions & 0 deletions db/agents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,18 @@ agents:
examples:
- Pandora/19081002 CFNetwork/978.0.7 Darwin/18.6.0
- Pandora/2100 CFNetwork/978.0.7 Darwin/18.6.0
- regex: '^Mozilla.+Windows.+PandoraApp'
name: Pandora
type: Desktop App
os: Windows
examples:
- Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.128 Electron/4.2.10 Safari/537.36 PandoraApp/15.0.2
- regex: '^Mozilla.+Macintosh.+PandoraApp'
name: Pandora
type: Desktop App
os: macOS
examples:
- Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.128 Electron/4.2.10 Safari/537.36 PandoraApp/15.0.1
- regex: '^Playapod.+CFNetwork'
name: Playapod
type: Mobile App
Expand Down
24 changes: 16 additions & 8 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -627,14 +627,6 @@ <h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">Lumin
<h5 class="card-title"><code>/^Luminary.+Android/</code></h5>
<h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">Luminary</span><span class="badge badge-pill badge-success">Mobile App</span><span class="badge badge-pill badge-info">Android</span>
</h6><code class="examples">Luminary/1.0.0 build 1035/Android 27
</code>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title"><code>/^Luminary\/1.0/</code></h5>
<h6 class="card-subtitle mb2">
</h6><code class="examples">Luminary/1.0
</code>
</div>
</div>
Expand Down Expand Up @@ -761,6 +753,22 @@ <h5 class="card-title"><code>/^Pandora.+CFNetwork/</code></h5>
<h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">Pandora</span><span class="badge badge-pill badge-success">Mobile App</span><span class="badge badge-pill badge-info">iOS</span>
</h6><code class="examples">Pandora/19081002 CFNetwork/978.0.7 Darwin/18.6.0
Pandora/2100 CFNetwork/978.0.7 Darwin/18.6.0
</code>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title"><code>/^Mozilla.+Windows.+PandoraApp/</code></h5>
<h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">Pandora</span><span class="badge badge-pill badge-success">Desktop App</span><span class="badge badge-pill badge-info">Windows</span>
</h6><code class="examples">Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.128 Electron/4.2.10 Safari/537.36 PandoraApp/15.0.2
</code>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title"><code>/^Mozilla.+Macintosh.+PandoraApp/</code></h5>
<h6 class="card-subtitle mb2"><span class="badge badge-pill badge-primary">Pandora</span><span class="badge badge-pill badge-success">Desktop App</span><span class="badge badge-pill badge-info">macOS</span>
</h6><code class="examples">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.128 Electron/4.2.10 Safari/537.36 PandoraApp/15.0.1
</code>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prx-podagent",
"version": "0.1.1",
"version": "0.1.2",
"description": "User-agent parser for common podcast clients",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 79d9c48

Please sign in to comment.