oxford_learners_dictionaries 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -5
- data/lib/oxford_learners_dictionaries/english.rb +15 -8
- data/lib/oxford_learners_dictionaries/version.rb +1 -1
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/getting_type_from_words/when_its_a_noun/matches_noun.yml +4 -4
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/getting_type_from_words/when_its_a_verb/matches_verb.yml +9 -9
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/getting_type_from_words/when_its_an_adverb/matches_adverb.yml +3 -3
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/important_words/_get/counts_3_definitions.yml +4 -4
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/important_words/_get/matches_noun.yml +3 -3
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/important_words/_take/counts_3_definitions.yml +9 -8
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/important_words/_take/matches_noun.yml +8 -8
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/when_a_word_has_more_than_one_definitions/counts_3_definitions.yml +3 -3
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/when_a_word_has_more_than_one_definitions/shows_all_definitions_in_Hash.yml +4 -4
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/when_a_word_has_only_one_definition/counts_1_definition.yml +4 -4
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/looking_up_a_word/when_a_word_has_only_one_definition/shows_definition_in_Hash.yml +3 -3
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_English/when_the_word_is_not_found/returns_empty.yml +283 -0
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_WordOfTheDay/_initialize/gets_short_definition_for_wotd.yml +313 -314
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_WordOfTheDay/_initialize/matches_word_of_the_day.yml +313 -314
- data/spec/fixtures/vcr/OxfordLearnersDictionaries_WordOfTheDay/_look_up/when_word_is_valid/matches_description_count.yml +1403 -1204
- data/spec/oxford_learners_dictionaries/english_spec.rb +9 -6
- data/spec/oxford_learners_dictionaries/word_of_the_day_spec.rb +3 -3
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5cef05ae63ffd879cfb1082725e9024d487aafa5
|
4
|
+
data.tar.gz: d2204fc9220032645ee959436844cf123d682914
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65032da126bf0d459be8ad6c376e0d4c2c75c651dba27905999d0b480f855099ecaec1c9fd91a6d15abfada8b11f2a0476d64ad1cf2d13b1c40e0cbda7663850
|
7
|
+
data.tar.gz: 25b69483e1f99939f86eb378b9df3663240e1126c439da8c468f08156ff43752b53dfd1b39515b853984d91cf71cf7e86dfde97b6acf7ab750311dee7e5a5376
|
data/README.md
CHANGED
@@ -10,21 +10,18 @@ It parses http://www.oxfordlearnersdictionaries.com/ and return the definition(s
|
|
10
10
|
## Features
|
11
11
|
|
12
12
|
#### v0.1
|
13
|
-
Classification (verb, noun, adverb, etc)
|
13
|
+
Classification (verb, noun, adverb, etc) with its definition(s) and word of the day.
|
14
14
|
|
15
15
|
#### v0.2
|
16
|
-
###### WIP
|
17
16
|
Definitions including example(s) and Recent Popular searches.
|
18
17
|
|
19
18
|
#### v0.3
|
20
|
-
###### TODO
|
21
19
|
Including picture and pronunciation (American(NAmE) and British(BrE)).
|
22
20
|
|
23
21
|
#### v0.4
|
24
|
-
###### TODO
|
25
22
|
Usage, e.g. when looking for 'car', it'll also provide information about 'having a car', 'driving a car', etc.
|
26
23
|
|
27
|
-
#### Further
|
24
|
+
#### Further versions
|
28
25
|
Please let me know :)
|
29
26
|
|
30
27
|
## Installation
|
@@ -3,24 +3,31 @@ require 'open-uri'
|
|
3
3
|
|
4
4
|
module OxfordLearnersDictionaries
|
5
5
|
class English
|
6
|
-
attr_reader :definition, :type, :
|
6
|
+
attr_reader :definition, :type, :urls, :word
|
7
7
|
|
8
8
|
def initialize word
|
9
9
|
formatted_word = word.strip.gsub(' ', '-') rescue ''
|
10
10
|
param_word = formatted_word.gsub('-', '+')
|
11
|
-
|
11
|
+
main_url = "http://www.oxfordlearnersdictionaries.com/definition/english/#{formatted_word}?q=#{param_word}"
|
12
|
+
|
13
|
+
@urls = [ main_url, main_url.gsub('?q=', '1?q=') ]
|
12
14
|
@word = formatted_word
|
13
15
|
@definition = Hash.new
|
14
16
|
end
|
15
17
|
|
16
18
|
def look_up
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
@urls.each do |url|
|
20
|
+
begin
|
21
|
+
@page = Nokogiri::HTML(open(url))
|
22
|
+
break
|
23
|
+
rescue OpenURI::HTTPError
|
24
|
+
@page = nil
|
25
|
+
end
|
23
26
|
end
|
27
|
+
return {} if @page.nil?
|
28
|
+
|
29
|
+
@page.css('.idm-gs').remove
|
30
|
+
parse
|
24
31
|
self.definition
|
25
32
|
end
|
26
33
|
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:18:02 GMT
|
25
25
|
Content-Type:
|
26
26
|
- text/html;charset=UTF-8
|
27
27
|
Content-Length:
|
@@ -29,8 +29,8 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- JSESSIONID=
|
33
|
-
- session=
|
32
|
+
- JSESSIONID=164EE7CF6A2EB3AECE9C4519C3409F10; Path=/; HttpOnly
|
33
|
+
- session=68363f70839fab8d0bde84ee6fc635a3; domain=.oxfordlearnersdictionaries.com;
|
34
34
|
path=/
|
35
35
|
Content-Language:
|
36
36
|
- en
|
@@ -1806,5 +1806,5 @@ http_interactions:
|
|
1806
1806
|
ZHRoPSIxIiBhbHQ9IlF1YW50Y2FzdCIvPjwvbm9zY3JpcHQ+Cgo8L2JvZHk+
|
1807
1807
|
CjwvaHRtbD4K
|
1808
1808
|
http_version:
|
1809
|
-
recorded_at:
|
1809
|
+
recorded_at: Tue, 31 Mar 2015 13:18:02 GMT
|
1810
1810
|
recorded_with: VCR 2.9.3
|
@@ -21,27 +21,27 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:18:00 GMT
|
25
25
|
Content-Length:
|
26
26
|
- '0'
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
29
|
Set-Cookie:
|
30
|
-
- JSESSIONID=
|
31
|
-
- session=
|
30
|
+
- JSESSIONID=7C1194E630DBDDC0374C6C4292E199F0; Path=/; HttpOnly
|
31
|
+
- session=d3f6ad59a1c9be42babf26b6adc38e72; domain=.oxfordlearnersdictionaries.com;
|
32
32
|
path=/
|
33
33
|
Location:
|
34
|
-
- http://www.oxfordlearnersdictionaries.com/definition/english/play_1;jsessionid=
|
34
|
+
- http://www.oxfordlearnersdictionaries.com/definition/english/play_1;jsessionid=7C1194E630DBDDC0374C6C4292E199F0?isEntryInOtherDict=false
|
35
35
|
Content-Language:
|
36
36
|
- en
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
39
|
string: ''
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Tue, 31 Mar 2015 13:18:00 GMT
|
42
42
|
- request:
|
43
43
|
method: get
|
44
|
-
uri: http://www.oxfordlearnersdictionaries.com/definition/english/play_1;jsessionid=
|
44
|
+
uri: http://www.oxfordlearnersdictionaries.com/definition/english/play_1;jsessionid=7C1194E630DBDDC0374C6C4292E199F0?isEntryInOtherDict=false
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
47
|
string: ''
|
@@ -60,7 +60,7 @@ http_interactions:
|
|
60
60
|
Server:
|
61
61
|
- nginx/1.7.7
|
62
62
|
Date:
|
63
|
-
-
|
63
|
+
- Tue, 31 Mar 2015 13:18:01 GMT
|
64
64
|
Content-Type:
|
65
65
|
- text/html;charset=UTF-8
|
66
66
|
Content-Length:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
Connection:
|
69
69
|
- keep-alive
|
70
70
|
Set-Cookie:
|
71
|
-
- session=
|
71
|
+
- session=d3f6ad59a1c9be42babf26b6adc38e72; domain=.oxfordlearnersdictionaries.com;
|
72
72
|
path=/
|
73
73
|
Content-Language:
|
74
74
|
- en
|
@@ -2580,5 +2580,5 @@ http_interactions:
|
|
2580
2580
|
MSIgd2lkdGg9IjEiIGFsdD0iUXVhbnRjYXN0Ii8+PC9ub3NjcmlwdD4KCjwv
|
2581
2581
|
Ym9keT4KPC9odG1sPgo=
|
2582
2582
|
http_version:
|
2583
|
-
recorded_at:
|
2583
|
+
recorded_at: Tue, 31 Mar 2015 13:18:01 GMT
|
2584
2584
|
recorded_with: VCR 2.9.3
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:18:02 GMT
|
25
25
|
Content-Type:
|
26
26
|
- text/html;charset=UTF-8
|
27
27
|
Content-Length:
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- JSESSIONID=
|
32
|
+
- JSESSIONID=6B48693173ABE1C0B3F512A1480D91C8; Path=/; HttpOnly
|
33
33
|
- session=68363f70839fab8d0bde84ee6fc635a3; domain=.oxfordlearnersdictionaries.com;
|
34
34
|
path=/
|
35
35
|
Content-Language:
|
@@ -1072,5 +1072,5 @@ http_interactions:
|
|
1072
1072
|
ZWlnaHQ9IjEiIHdpZHRoPSIxIiBhbHQ9IlF1YW50Y2FzdCIvPjwvbm9zY3Jp
|
1073
1073
|
cHQ+Cgo8L2JvZHk+CjwvaHRtbD4K
|
1074
1074
|
http_version:
|
1075
|
-
recorded_at:
|
1075
|
+
recorded_at: Tue, 31 Mar 2015 13:18:02 GMT
|
1076
1076
|
recorded_with: VCR 2.9.3
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:18:04 GMT
|
25
25
|
Content-Type:
|
26
26
|
- text/html;charset=UTF-8
|
27
27
|
Content-Length:
|
@@ -29,8 +29,8 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- JSESSIONID=
|
33
|
-
- session=
|
32
|
+
- JSESSIONID=C8D3DD0BF8756C462BAFA70F1DDF978A; Path=/; HttpOnly
|
33
|
+
- session=68363f70839fab8d0bde84ee6fc635a3; domain=.oxfordlearnersdictionaries.com;
|
34
34
|
path=/
|
35
35
|
Content-Language:
|
36
36
|
- en
|
@@ -3824,5 +3824,5 @@ http_interactions:
|
|
3824
3824
|
YWx0PSJRdWFudGNhc3QiLz48L25vc2NyaXB0PgoKPC9ib2R5Pgo8L2h0bWw+
|
3825
3825
|
Cg==
|
3826
3826
|
http_version:
|
3827
|
-
recorded_at:
|
3827
|
+
recorded_at: Tue, 31 Mar 2015 13:18:04 GMT
|
3828
3828
|
recorded_with: VCR 2.9.3
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:18:07 GMT
|
25
25
|
Content-Type:
|
26
26
|
- text/html;charset=UTF-8
|
27
27
|
Content-Length:
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- JSESSIONID=
|
32
|
+
- JSESSIONID=A4EC9D3D9E2CF3ED3C1D7A9B979FD317; Path=/; HttpOnly
|
33
33
|
- session=68363f70839fab8d0bde84ee6fc635a3; domain=.oxfordlearnersdictionaries.com;
|
34
34
|
path=/
|
35
35
|
Content-Language:
|
@@ -3824,5 +3824,5 @@ http_interactions:
|
|
3824
3824
|
YWx0PSJRdWFudGNhc3QiLz48L25vc2NyaXB0PgoKPC9ib2R5Pgo8L2h0bWw+
|
3825
3825
|
Cg==
|
3826
3826
|
http_version:
|
3827
|
-
recorded_at:
|
3827
|
+
recorded_at: Tue, 31 Mar 2015 13:18:07 GMT
|
3828
3828
|
recorded_with: VCR 2.9.3
|
@@ -21,27 +21,27 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:18:09 GMT
|
25
25
|
Content-Length:
|
26
26
|
- '0'
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
29
|
Set-Cookie:
|
30
|
-
- JSESSIONID=
|
31
|
-
- session=
|
30
|
+
- JSESSIONID=8B59FF5AFF81172C2C3BB58F1FF22BE3; Path=/; HttpOnly
|
31
|
+
- session=d3f6ad59a1c9be42babf26b6adc38e72; domain=.oxfordlearnersdictionaries.com;
|
32
32
|
path=/
|
33
33
|
Location:
|
34
|
-
- http://www.oxfordlearnersdictionaries.com/definition/english/take_1;jsessionid=
|
34
|
+
- http://www.oxfordlearnersdictionaries.com/definition/english/take_1;jsessionid=8B59FF5AFF81172C2C3BB58F1FF22BE3?isEntryInOtherDict=false
|
35
35
|
Content-Language:
|
36
36
|
- en
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
39
|
string: ''
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Tue, 31 Mar 2015 13:18:08 GMT
|
42
42
|
- request:
|
43
43
|
method: get
|
44
|
-
uri: http://www.oxfordlearnersdictionaries.com/definition/english/take_1;jsessionid=
|
44
|
+
uri: http://www.oxfordlearnersdictionaries.com/definition/english/take_1;jsessionid=8B59FF5AFF81172C2C3BB58F1FF22BE3?isEntryInOtherDict=false
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
47
|
string: ''
|
@@ -60,7 +60,7 @@ http_interactions:
|
|
60
60
|
Server:
|
61
61
|
- nginx/1.7.7
|
62
62
|
Date:
|
63
|
-
-
|
63
|
+
- Tue, 31 Mar 2015 13:18:10 GMT
|
64
64
|
Content-Type:
|
65
65
|
- text/html;charset=UTF-8
|
66
66
|
Content-Length:
|
@@ -68,6 +68,7 @@ http_interactions:
|
|
68
68
|
Connection:
|
69
69
|
- keep-alive
|
70
70
|
Set-Cookie:
|
71
|
+
- JSESSIONID=601AAD09A59C1467049B7ED563369035; Path=/; HttpOnly
|
71
72
|
- session=68363f70839fab8d0bde84ee6fc635a3; domain=.oxfordlearnersdictionaries.com;
|
72
73
|
path=/
|
73
74
|
Content-Language:
|
@@ -4037,5 +4038,5 @@ http_interactions:
|
|
4037
4038
|
IiB3aWR0aD0iMSIgYWx0PSJRdWFudGNhc3QiLz48L25vc2NyaXB0PgoKPC9i
|
4038
4039
|
b2R5Pgo8L2h0bWw+Cg==
|
4039
4040
|
http_version:
|
4040
|
-
recorded_at:
|
4041
|
+
recorded_at: Tue, 31 Mar 2015 13:18:10 GMT
|
4041
4042
|
recorded_with: VCR 2.9.3
|
@@ -21,27 +21,27 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:18:11 GMT
|
25
25
|
Content-Length:
|
26
26
|
- '0'
|
27
27
|
Connection:
|
28
28
|
- keep-alive
|
29
29
|
Set-Cookie:
|
30
|
-
- JSESSIONID=
|
30
|
+
- JSESSIONID=37D35A9940727037B4B317DB679BBF03; Path=/; HttpOnly
|
31
31
|
- session=d3f6ad59a1c9be42babf26b6adc38e72; domain=.oxfordlearnersdictionaries.com;
|
32
32
|
path=/
|
33
33
|
Location:
|
34
|
-
- http://www.oxfordlearnersdictionaries.com/definition/english/take_1;jsessionid=
|
34
|
+
- http://www.oxfordlearnersdictionaries.com/definition/english/take_1;jsessionid=37D35A9940727037B4B317DB679BBF03?isEntryInOtherDict=false
|
35
35
|
Content-Language:
|
36
36
|
- en
|
37
37
|
body:
|
38
38
|
encoding: UTF-8
|
39
39
|
string: ''
|
40
40
|
http_version:
|
41
|
-
recorded_at:
|
41
|
+
recorded_at: Tue, 31 Mar 2015 13:18:11 GMT
|
42
42
|
- request:
|
43
43
|
method: get
|
44
|
-
uri: http://www.oxfordlearnersdictionaries.com/definition/english/take_1;jsessionid=
|
44
|
+
uri: http://www.oxfordlearnersdictionaries.com/definition/english/take_1;jsessionid=37D35A9940727037B4B317DB679BBF03?isEntryInOtherDict=false
|
45
45
|
body:
|
46
46
|
encoding: US-ASCII
|
47
47
|
string: ''
|
@@ -60,7 +60,7 @@ http_interactions:
|
|
60
60
|
Server:
|
61
61
|
- nginx/1.7.7
|
62
62
|
Date:
|
63
|
-
-
|
63
|
+
- Tue, 31 Mar 2015 13:18:13 GMT
|
64
64
|
Content-Type:
|
65
65
|
- text/html;charset=UTF-8
|
66
66
|
Content-Length:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
Connection:
|
69
69
|
- keep-alive
|
70
70
|
Set-Cookie:
|
71
|
-
- JSESSIONID=
|
71
|
+
- JSESSIONID=F2F5949048E7B359CA32FDBA20F79B8D; Path=/; HttpOnly
|
72
72
|
- session=68363f70839fab8d0bde84ee6fc635a3; domain=.oxfordlearnersdictionaries.com;
|
73
73
|
path=/
|
74
74
|
Content-Language:
|
@@ -4038,5 +4038,5 @@ http_interactions:
|
|
4038
4038
|
IiB3aWR0aD0iMSIgYWx0PSJRdWFudGNhc3QiLz48L25vc2NyaXB0PgoKPC9i
|
4039
4039
|
b2R5Pgo8L2h0bWw+Cg==
|
4040
4040
|
http_version:
|
4041
|
-
recorded_at:
|
4041
|
+
recorded_at: Tue, 31 Mar 2015 13:18:13 GMT
|
4042
4042
|
recorded_with: VCR 2.9.3
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:17:59 GMT
|
25
25
|
Content-Type:
|
26
26
|
- text/html;charset=UTF-8
|
27
27
|
Content-Length:
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- JSESSIONID=
|
32
|
+
- JSESSIONID=2D400A38B298545141FBB2AEDF57A8BD; Path=/; HttpOnly
|
33
33
|
- session=68363f70839fab8d0bde84ee6fc635a3; domain=.oxfordlearnersdictionaries.com;
|
34
34
|
path=/
|
35
35
|
Content-Language:
|
@@ -1806,5 +1806,5 @@ http_interactions:
|
|
1806
1806
|
ZHRoPSIxIiBhbHQ9IlF1YW50Y2FzdCIvPjwvbm9zY3JpcHQ+Cgo8L2JvZHk+
|
1807
1807
|
CjwvaHRtbD4K
|
1808
1808
|
http_version:
|
1809
|
-
recorded_at:
|
1809
|
+
recorded_at: Tue, 31 Mar 2015 13:17:59 GMT
|
1810
1810
|
recorded_with: VCR 2.9.3
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:17:59 GMT
|
25
25
|
Content-Type:
|
26
26
|
- text/html;charset=UTF-8
|
27
27
|
Content-Length:
|
@@ -29,8 +29,8 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- JSESSIONID=
|
33
|
-
- session=
|
32
|
+
- JSESSIONID=1388AA944BE93BB981BE3329E4F57DC0; Path=/; HttpOnly
|
33
|
+
- session=68363f70839fab8d0bde84ee6fc635a3; domain=.oxfordlearnersdictionaries.com;
|
34
34
|
path=/
|
35
35
|
Content-Language:
|
36
36
|
- en
|
@@ -1806,5 +1806,5 @@ http_interactions:
|
|
1806
1806
|
ZHRoPSIxIiBhbHQ9IlF1YW50Y2FzdCIvPjwvbm9zY3JpcHQ+Cgo8L2JvZHk+
|
1807
1807
|
CjwvaHRtbD4K
|
1808
1808
|
http_version:
|
1809
|
-
recorded_at:
|
1809
|
+
recorded_at: Tue, 31 Mar 2015 13:17:58 GMT
|
1810
1810
|
recorded_with: VCR 2.9.3
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:17:58 GMT
|
25
25
|
Content-Type:
|
26
26
|
- text/html;charset=UTF-8
|
27
27
|
Content-Length:
|
@@ -29,8 +29,8 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- JSESSIONID=
|
33
|
-
- session=
|
32
|
+
- JSESSIONID=DE1B14927E100C7451D53037E768AE86; Path=/; HttpOnly
|
33
|
+
- session=68363f70839fab8d0bde84ee6fc635a3; domain=.oxfordlearnersdictionaries.com;
|
34
34
|
path=/
|
35
35
|
Content-Language:
|
36
36
|
- en
|
@@ -1126,5 +1126,5 @@ http_interactions:
|
|
1126
1126
|
bmU7IiBib3JkZXI9IjAiIGhlaWdodD0iMSIgd2lkdGg9IjEiIGFsdD0iUXVh
|
1127
1127
|
bnRjYXN0Ii8+PC9ub3NjcmlwdD4KCjwvYm9keT4KPC9odG1sPgo=
|
1128
1128
|
http_version:
|
1129
|
-
recorded_at:
|
1129
|
+
recorded_at: Tue, 31 Mar 2015 13:17:58 GMT
|
1130
1130
|
recorded_with: VCR 2.9.3
|
@@ -21,7 +21,7 @@ http_interactions:
|
|
21
21
|
Server:
|
22
22
|
- nginx/1.7.7
|
23
23
|
Date:
|
24
|
-
-
|
24
|
+
- Tue, 31 Mar 2015 13:17:58 GMT
|
25
25
|
Content-Type:
|
26
26
|
- text/html;charset=UTF-8
|
27
27
|
Content-Length:
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
Connection:
|
30
30
|
- keep-alive
|
31
31
|
Set-Cookie:
|
32
|
-
- JSESSIONID=
|
32
|
+
- JSESSIONID=75D0E1522627B8DD94AA6AAEE79C770B; Path=/; HttpOnly
|
33
33
|
- session=d3f6ad59a1c9be42babf26b6adc38e72; domain=.oxfordlearnersdictionaries.com;
|
34
34
|
path=/
|
35
35
|
Content-Language:
|
@@ -1126,5 +1126,5 @@ http_interactions:
|
|
1126
1126
|
bmU7IiBib3JkZXI9IjAiIGhlaWdodD0iMSIgd2lkdGg9IjEiIGFsdD0iUXVh
|
1127
1127
|
bnRjYXN0Ii8+PC9ub3NjcmlwdD4KCjwvYm9keT4KPC9odG1sPgo=
|
1128
1128
|
http_version:
|
1129
|
-
recorded_at:
|
1129
|
+
recorded_at: Tue, 31 Mar 2015 13:17:57 GMT
|
1130
1130
|
recorded_with: VCR 2.9.3
|