referer-parser 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/data/referers.json +4022 -0
- data/data/referers.yml +194 -50
- data/lib/referer-parser/referers.rb +2 -1
- data/lib/referer-parser/version.rb +1 -1
- data/spec/referer-tests.json +234 -0
- metadata +8 -9
@@ -0,0 +1,234 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"spec": "Google Images search",
|
4
|
+
"uri": "http://www.google.fr/imgres?q=Ogham+the+celtic+oracle&hl=fr&safe=off&client=firefox-a&hs=ZDu&sa=X&rls=org.mozilla:fr-FR:unofficial&tbm=isch&prmd=imvnsa&tbnid=HUVaj-o88ZRdYM:&imgrefurl=http://www.psychicbazaar.com/oracles/101-ogham-the-celtic-oracle-set.html&docid=DY5_pPFMliYUQM&imgurl=http://mdm.pbzstatic.com/oracles/ogham-the-celtic-oracle-set/montage.png&w=734&h=250&ei=GPdWUIePCOqK0AWp3oCQBA&zoom=1&iact=hc&vpx=129&vpy=276&dur=827&hovh=131&hovw=385&tx=204&ty=71&sig=104115776612919232039&page=1&tbnh=69&tbnw=202&start=0&ndsp=26&ved=1t:429,r:13,s:0,i:114&biw=1272&bih=826",
|
5
|
+
"medium": "search",
|
6
|
+
"source": "Google Images",
|
7
|
+
"term": "Ogham the celtic oracle",
|
8
|
+
"known": true
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"spec": "Yahoo! Images search",
|
12
|
+
"uri": "http://it.images.search.yahoo.com/images/view;_ylt=A0PDodgQmGBQpn4AWQgdDQx.;_ylu=X3oDMTBlMTQ4cGxyBHNlYwNzcgRzbGsDaW1n?back=http%3A%2F%2Fit.images.search.yahoo.com%2Fsearch%2Fimages%3Fp%3DEarth%2BMagic%2BOracle%2BCards%26fr%3Dmcafee%26fr2%3Dpiv-web%26tab%3Dorganic%26ri%3D5&w=1064&h=1551&imgurl=mdm.pbzstatic.com%2Foracles%2Fearth-magic-oracle-cards%2Fcard-1.png&rurl=http%3A%2F%2Fwww.psychicbazaar.com%2Foracles%2F143-earth-magic-oracle-cards.html&size=2.8+KB&name=Earth+Magic+Oracle+Cards+-+Psychic+Bazaar&p=Earth+Magic+Oracle+Cards&oid=f0a5ad5c4211efe1c07515f56cf5a78e&fr2=piv-web&fr=mcafee&tt=Earth%2BMagic%2BOracle%2BCards%2B-%2BPsychic%2BBazaar&b=0&ni=90&no=5&ts=&tab=organic&sigr=126n355ib&sigb=13hbudmkc&sigi=11ta8f0gd&.crumb=IZBOU1c0UHU",
|
13
|
+
"medium": "search",
|
14
|
+
"source": "Yahoo! Images",
|
15
|
+
"term": "Earth Magic Oracle Cards",
|
16
|
+
"known": true
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"spec": "Powered by Google",
|
20
|
+
"uri": "http://isearch.avg.com/pages/images.aspx?q=tarot+card+change&sap=dsp&lang=en&mid=209215200c4147d1a9d6d1565005540b-b0d4f81a8999f5981f04537c5ec8468fd5234593&cid=%7B50F9298B-C111-4C7E-9740-363BF0015949%7D&v=12.1.0.21&ds=AVG&d=7%2F23%2F2012+10%3A31%3A08+PM&pr=fr&sba=06oENya4ZG1YS6vOLJwpLiFdjG91ICt2YE59W2p5ENc2c4w8KvJb5xbvjkj3ceMjnyTSpZq-e6pj7GQUylIQtuK4psJU60wZuI-8PbjX-OqtdX3eIcxbMoxg3qnIasP0ww2fuID1B-p2qJln8vBHxWztkpxeixjZPSppHnrb9fEcx62a9DOR0pZ-V-Kjhd-85bIL0QG5qi1OuA4M1eOP4i_NzJQVRXPQDmXb-CpIcruc2h5FE92Tc8QMUtNiTEWBbX-QiCoXlgbHLpJo5Jlq-zcOisOHNWU2RSHYJnK7IUe_SH6iQ.%2CYT0zO2s9MTA7aD1mNjZmZDBjMjVmZDAxMGU4&snd=hdr&tc=test1",
|
21
|
+
"medium": "search",
|
22
|
+
"source": "Google",
|
23
|
+
"term": "tarot card change",
|
24
|
+
"known": true
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"spec": "Google search #1",
|
28
|
+
"uri": "http://www.google.com/search",
|
29
|
+
"medium": "search",
|
30
|
+
"source": "Google",
|
31
|
+
"term": null,
|
32
|
+
"known": true
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"spec": "Google search #2",
|
36
|
+
"uri": "http://www.google.com/search?q=gateway+oracle+cards+denise+linn&hl=en&client=safari",
|
37
|
+
"medium": "search",
|
38
|
+
"source": "Google",
|
39
|
+
"term": "gateway oracle cards denise linn",
|
40
|
+
"known": true
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"spec": "Yahoo! search",
|
44
|
+
"uri": "http://es.search.yahoo.com/search;_ylt=A7x9QbwbZXxQ9EMAPCKT.Qt.?p=BIEDERMEIER+FORTUNE+TELLING+CARDS&ei=utf-8&type=685749&fr=chr-greentree_gc&xargs=0&pstart=1&b=11",
|
45
|
+
"medium": "search",
|
46
|
+
"source": "Yahoo!",
|
47
|
+
"term": "BIEDERMEIER FORTUNE TELLING CARDS",
|
48
|
+
"known": true
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"spec": "PriceRunner search",
|
52
|
+
"uri": "http://www.pricerunner.co.uk/search?displayNoHitsMessage=1&q=wild+wisdom+of+the+faery+oracle",
|
53
|
+
"medium": "search",
|
54
|
+
"source": "PriceRunner",
|
55
|
+
"term": "wild wisdom of the faery oracle",
|
56
|
+
"known": true
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"spec": "Bing Images search",
|
60
|
+
"uri": "http://www.bing.com/images/search?q=psychic+oracle+cards&view=detail&id=D268EDDEA8D3BF20AF887E62AF41E8518FE96F08",
|
61
|
+
"medium": "search",
|
62
|
+
"source": "Bing Images",
|
63
|
+
"term": "psychic oracle cards",
|
64
|
+
"known": true
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"spec": "IXquick search",
|
68
|
+
"uri": "https://s3-us3.ixquick.com/do/search",
|
69
|
+
"medium": "search",
|
70
|
+
"source": "IXquick",
|
71
|
+
"term": null,
|
72
|
+
"known": true
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"spec": "AOL search",
|
76
|
+
"uri": "http://aolsearch.aol.co.uk/aol/search?s_chn=hp&enabled_terms=&s_it=aoluk-homePage50&q=pendulums",
|
77
|
+
"medium": "search",
|
78
|
+
"source": "AOL",
|
79
|
+
"term": "pendulums",
|
80
|
+
"known": true
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"spec": "AOL search.com",
|
84
|
+
"uri": "http://www.aolsearch.com/search?s_pt=hp&s_gl=NL&query=voorbeeld+cv+competenties&invocationType=tb50hpcnnbie7-nl-nl",
|
85
|
+
"medium": "search",
|
86
|
+
"source": "AOL",
|
87
|
+
"term": "voorbeeld cv competenties",
|
88
|
+
"known": true
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"spec": "Ask search",
|
92
|
+
"uri": "http://uk.search-results.com/web?qsrc=1&o=1921&l=dis&q=pendulums&dm=ctry&atb=sysid%3D406%3Aappid%3D113%3Auid%3D8f40f651e7b608b5%3Auc%3D1346336505%3Aqu%3Dpendulums%3Asrc%3Dcrt%3Ao%3D1921&locale=en_GB",
|
93
|
+
"medium": "search",
|
94
|
+
"source": "Ask",
|
95
|
+
"term": "pendulums",
|
96
|
+
"known": true
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"spec": "Mail.ru search",
|
100
|
+
"uri": "http://go.mail.ru/search?q=Gothic%20Tarot%20Cards&where=any&num=10&rch=e&sf=20",
|
101
|
+
"medium": "search",
|
102
|
+
"source": "Mail.ru",
|
103
|
+
"term": "Gothic Tarot Cards",
|
104
|
+
"known": true
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"spec": "Yandex search",
|
108
|
+
"uri": "http://images.yandex.ru/yandsearch?text=Blue%20Angel%20Oracle%20Blue%20Angel%20Oracle&noreask=1&pos=16&rpt=simage&lr=45&img_url=http%3A%2F%2Fmdm.pbzstatic.com%2Foracles%2Fblue-angel-oracle%2Fbox-small.png",
|
109
|
+
"medium": "search",
|
110
|
+
"source": "Yandex Images",
|
111
|
+
"term": "Blue Angel Oracle Blue Angel Oracle",
|
112
|
+
"known": true
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"spec": "Ask toolbar search",
|
116
|
+
"uri": "http://search.tb.ask.com/search/GGmain.jhtml?cb=AYY&pg=GGmain&p2=%5EAYY%5Exdm071%5EYYA%5Eid&n=77fdaa55&qid=c2678d9147654034bb8b16daa7bfb48c&ss=sub&st=hp&ptb=F9FC6C22-EAE6-4D1E-8126-A70119B6E02F&si=flvrunner&tpr=hst&searchfor=CARA+MEMASAK+CUMI+CUMI&ots=1219016089614",
|
117
|
+
"medium": "search",
|
118
|
+
"source": "Ask Toolbar",
|
119
|
+
"term": "CARA MEMASAK CUMI CUMI",
|
120
|
+
"known": true
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"spec": "Ask toolbar search #2",
|
124
|
+
"uri": "http://search.tb.ask.com/search/GGmain.jhtml?&st=hp&p2=^ZU^xdm458^YYA^us&n=77fda1bd&ptb=F0B68CA5-4791-4376-BFCC-5F0100329FB6&si=CMKg9-nX07oCFSjZQgodcikACQ&tpr=hpsbsug&searchfor=test",
|
125
|
+
"medium": "search",
|
126
|
+
"source": "Ask Toolbar",
|
127
|
+
"term": "test",
|
128
|
+
"known": true
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"spec": "Voila search",
|
132
|
+
"uri": "http://lemoteur.ke.voila.fr/?module=voila&bhv=web_fr&kw=test",
|
133
|
+
"medium": "search",
|
134
|
+
"source": "Voila",
|
135
|
+
"term": "test",
|
136
|
+
"known": true
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"spec": "Dale search",
|
140
|
+
"uri": "http://www.dalesearch.com/?q=+lego.nl+%2Fclub&s=web&as=0&rlz=0&babsrc=HP_ss",
|
141
|
+
"medium": "search",
|
142
|
+
"source": "Dalesearch",
|
143
|
+
"term": " lego.nl /club",
|
144
|
+
"known": true
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"spec": "Twitter redirect",
|
148
|
+
"uri": "http://t.co/chrgFZDb",
|
149
|
+
"medium": "social",
|
150
|
+
"source": "Twitter",
|
151
|
+
"term": null,
|
152
|
+
"known": true
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"spec": "Facebook social",
|
156
|
+
"uri": "http://www.facebook.com/l.php?u=http%3A%2F%2Fwww.psychicbazaar.com&h=yAQHZtXxS&s=1",
|
157
|
+
"medium": "social",
|
158
|
+
"source": "Facebook",
|
159
|
+
"term": null,
|
160
|
+
"known": true
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"spec": "Facebook mobile",
|
164
|
+
"uri": "http://m.facebook.com/l.php?u=http%3A%2F%2Fwww.psychicbazaar.com%2Fblog%2F2012%2F09%2Fpsychic-bazaar-reviews-tarot-foundations-31-days-to-read-tarot-with-confidence%2F&h=kAQGXKbf9&s=1",
|
165
|
+
"medium": "social",
|
166
|
+
"source": "Facebook",
|
167
|
+
"term": null,
|
168
|
+
"known": true
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"spec": "Odnoklassniki",
|
172
|
+
"uri": "http://www.odnoklassniki.ru/dk?cmd=logExternal&st._aid=Conversations_Openlink&st.name=externalLinkRedirect&st.link=http%3A%2F%2Fwww.psychicbazaar.com%2Foracles%2F187-blue-angel-oracle.html",
|
173
|
+
"medium": "social",
|
174
|
+
"source": "Odnoklassniki",
|
175
|
+
"term": null,
|
176
|
+
"known": true
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"spec": "Tumblr social #1",
|
180
|
+
"uri": "http://www.tumblr.com/dashboard",
|
181
|
+
"medium": "social",
|
182
|
+
"source": "Tumblr",
|
183
|
+
"term": null,
|
184
|
+
"known": true
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"spec": "Tumblr w subdomain",
|
188
|
+
"uri": "http://psychicbazaar.tumblr.com/",
|
189
|
+
"medium": "social",
|
190
|
+
"source": "Tumblr",
|
191
|
+
"term": null,
|
192
|
+
"known": true
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"spec": "Yahoo! Mail",
|
196
|
+
"uri": "http://36ohk6dgmcd1n-c.c.yom.mail.yahoo.net/om/api/1.0/openmail.app.invoke/36ohk6dgmcd1n/11/1.0.35/us/en-US/view.html/0",
|
197
|
+
"medium": "email",
|
198
|
+
"source": "Yahoo! Mail",
|
199
|
+
"term": null,
|
200
|
+
"known": true
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"spec": "Outlook.com mail",
|
204
|
+
"uri": "http://co106w.col106.mail.live.com/default.aspx?rru=inbox",
|
205
|
+
"medium": "email",
|
206
|
+
"source": "Outlook.com",
|
207
|
+
"term": null,
|
208
|
+
"known": true
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"spec": "Orange Webmail",
|
212
|
+
"uri": "http://webmail1m.orange.fr/webmail/fr_FR/read.html?FOLDER=SF_INBOX&IDMSG=8594&check=&SORTBY=31",
|
213
|
+
"medium": "email",
|
214
|
+
"source": "Orange Webmail",
|
215
|
+
"term": null,
|
216
|
+
"known": true
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"spec": "Internal HTTP",
|
220
|
+
"uri": "http://www.snowplowanalytics.com/about/team",
|
221
|
+
"medium": "internal",
|
222
|
+
"source": null,
|
223
|
+
"term": null,
|
224
|
+
"known": false
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"spec": "Internal HTTPS",
|
228
|
+
"uri": "https://www.snowplowanalytics.com/account/profile",
|
229
|
+
"medium": "internal",
|
230
|
+
"source": null,
|
231
|
+
"term": null,
|
232
|
+
"known": false
|
233
|
+
}
|
234
|
+
]
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: referer-parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Yali Sassoon
|
@@ -11,12 +10,11 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date:
|
13
|
+
date: 2014-06-26 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rspec
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
19
|
- - ~>
|
22
20
|
- !ruby/object:Gem::Version
|
@@ -24,7 +22,6 @@ dependencies:
|
|
24
22
|
type: :development
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
26
|
- - ~>
|
30
27
|
- !ruby/object:Gem::Version
|
@@ -41,6 +38,7 @@ files:
|
|
41
38
|
- LICENSE-2.0.txt
|
42
39
|
- README.md
|
43
40
|
- Rakefile
|
41
|
+
- data/referers.json
|
44
42
|
- data/referers.yml
|
45
43
|
- lib/referer-parser.rb
|
46
44
|
- lib/referer-parser/errors.rb
|
@@ -49,32 +47,33 @@ files:
|
|
49
47
|
- lib/referer-parser/version.rb
|
50
48
|
- referer-parser.gemspec
|
51
49
|
- spec/referer-spec.rb
|
50
|
+
- spec/referer-tests.json
|
52
51
|
homepage: http://github.com/snowplow/referer-parser
|
53
52
|
licenses: []
|
53
|
+
metadata: {}
|
54
54
|
post_install_message:
|
55
55
|
rdoc_options: []
|
56
56
|
require_paths:
|
57
57
|
- lib
|
58
58
|
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
59
|
requirements:
|
61
60
|
- - ! '>='
|
62
61
|
- !ruby/object:Gem::Version
|
63
62
|
version: '0'
|
64
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
64
|
requirements:
|
67
65
|
- - ! '>='
|
68
66
|
- !ruby/object:Gem::Version
|
69
67
|
version: '0'
|
70
68
|
requirements: []
|
71
69
|
rubyforge_project:
|
72
|
-
rubygems_version:
|
70
|
+
rubygems_version: 2.2.2
|
73
71
|
signing_key:
|
74
|
-
specification_version:
|
72
|
+
specification_version: 4
|
75
73
|
summary: Library for extracting marketing attribution data (e.g. search terms) from
|
76
74
|
referer (sic) URLs. This is used by Snowplow (http://github.com/snowplow/snowplow).
|
77
75
|
Our hope is that this library (and referers.yml) will be extended by anyone interested
|
78
76
|
in parsing referer URLs.
|
79
77
|
test_files:
|
80
78
|
- spec/referer-spec.rb
|
79
|
+
- spec/referer-tests.json
|