osdb 0.0.10 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,342 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.opensubtitles.org/xml-rpc
6
+ body:
7
+ string: |
8
+ <?xml version="1.0" ?><methodCall><methodName>GetIMDBMovieDetails</methodName><params><param><value><string>qtqkphpa0us78eikqtdtg4jic7</string></value></param><param><value><string>0176415</string></value></param></params></methodCall>
9
+
10
+ headers:
11
+ Accept:
12
+ - "*/*"
13
+ Cookie:
14
+ - PHPSESSID=qtqkphpa0us78eikqtdtg4jic7
15
+ Content-Length:
16
+ - "236"
17
+ User-Agent:
18
+ - XMLRPC::Client (Ruby 1.8.7)
19
+ Content-Type:
20
+ - text/xml; charset=utf-8
21
+ Connection:
22
+ - keep-alive
23
+ response:
24
+ status:
25
+ code: 200
26
+ message: OK
27
+ headers:
28
+ X-Cache:
29
+ - MISS
30
+ Age:
31
+ - "0"
32
+ X-Cache-Backend:
33
+ - www
34
+ Cache-Control:
35
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
36
+ Set-Cookie:
37
+ - PHPSESSID=qtqkphpa0us78eikqtdtg4jic7; path=/
38
+ Pragma:
39
+ - no-cache
40
+ Expires:
41
+ - Thu, 19 Nov 1981 08:52:00 GMT
42
+ Content-Length:
43
+ - "6866"
44
+ Content-Type:
45
+ - text/xml
46
+ Connection:
47
+ - keep-alive
48
+ Accept-Ranges:
49
+ - bytes
50
+ Date:
51
+ - Sun, 04 Nov 2012 17:11:59 GMT
52
+ body:
53
+ string: |
54
+ <?xml version="1.0" encoding="utf-8"?>
55
+ <methodResponse>
56
+ <params>
57
+ <param>
58
+ <value>
59
+ <struct>
60
+ <member>
61
+ <name>status</name>
62
+ <value>
63
+ <string>200 OK</string>
64
+ </value>
65
+ </member>
66
+ <member>
67
+ <name>data</name>
68
+ <value>
69
+ <struct>
70
+ <member>
71
+ <name>cast</name>
72
+ <value>
73
+ <struct>
74
+ <member>
75
+ <name>_0273178</name>
76
+ <value>
77
+ <string>Fernando Fern&#195;&#161;n G&#195;&#179;mez</string>
78
+ </value>
79
+ </member>
80
+ <member>
81
+ <name>_0022264</name>
82
+ <value>
83
+ <string>Rafael Alonso</string>
84
+ </value>
85
+ </member>
86
+ <member>
87
+ <name>_0347201</name>
88
+ <value>
89
+ <string>Cayetana Guill&#195;&#169;n Cuervo</string>
90
+ </value>
91
+ </member>
92
+ <member>
93
+ <name>_0328020</name>
94
+ <value>
95
+ <string>Agust&#195;&#173;n Gonz&#195;&#161;lez</string>
96
+ </value>
97
+ </member>
98
+ <member>
99
+ <name>_0190285</name>
100
+ <value>
101
+ <string>Cristina Cruz</string>
102
+ </value>
103
+ </member>
104
+ <member>
105
+ <name>_0747510</name>
106
+ <value>
107
+ <string>Alicia Rozas</string>
108
+ </value>
109
+ </member>
110
+ <member>
111
+ <name>_0347218</name>
112
+ <value>
113
+ <string>Fernando Guill&#195;&#169;n</string>
114
+ </value>
115
+ </member>
116
+ <member>
117
+ <name>_0685037</name>
118
+ <value>
119
+ <string>Francisco Piquer</string>
120
+ </value>
121
+ </member>
122
+ <member>
123
+ <name>_0557456</name>
124
+ <value>
125
+ <string>Mar&#195;&#173;a Massip</string>
126
+ </value>
127
+ </member>
128
+ <member>
129
+ <name>_0137138</name>
130
+ <value>
131
+ <string>Jos&#195;&#169; Caride</string>
132
+ </value>
133
+ </member>
134
+ <member>
135
+ <name>_0019330</name>
136
+ <value>
137
+ <string>Francisco Algora</string>
138
+ </value>
139
+ </member>
140
+ <member>
141
+ <name>_0169358</name>
142
+ <value>
143
+ <string>Emma Cohen</string>
144
+ </value>
145
+ </member>
146
+ <member>
147
+ <name>_0130703</name>
148
+ <value>
149
+ <string>Juan Calot</string>
150
+ </value>
151
+ </member>
152
+ <member>
153
+ <name>_0350881</name>
154
+ <value>
155
+ <string>Concha G&#195;&#179;mez Conde</string>
156
+ </value>
157
+ </member>
158
+ <member>
159
+ <name>_0736047</name>
160
+ <value>
161
+ <string>Nuria Rodr&#195;&#173;guez</string>
162
+ </value>
163
+ </member>
164
+ </struct>
165
+ </value>
166
+ </member>
167
+ <member>
168
+ <name>writers</name>
169
+ <value>
170
+ <struct>
171
+ <member>
172
+ <name>_0305054</name>
173
+ <value>
174
+ <string>Jos&#195;&#169; Luis Garci</string>
175
+ </value>
176
+ </member>
177
+ <member>
178
+ <name>_0701918</name>
179
+ <value>
180
+ <string>Benito P&#195;&#169;rez Gald&#195;&#179;s</string>
181
+ </value>
182
+ </member>
183
+ </struct>
184
+ </value>
185
+ </member>
186
+ <member>
187
+ <name>rating</name>
188
+ <value>
189
+ <string>7.4</string>
190
+ </value>
191
+ </member>
192
+ <member>
193
+ <name>kind</name>
194
+ <value>
195
+ <string>movie</string>
196
+ </value>
197
+ </member>
198
+ <member>
199
+ <name>cover</name>
200
+ <value>
201
+ <string>http://ia.media-imdb.com/images/M/MV5BMTkwNzIxMTgzMF5BMl5BanBnXkFtZTYwOTkyMTA5._V1._SY317_CR5,0,214,317_.jpg</string>
202
+ </value>
203
+ </member>
204
+ <member>
205
+ <name>awards</name>
206
+ <value>
207
+ <array>
208
+ <data>
209
+ <value>
210
+ <string>Nominated for Oscar. Another 9 wins &#38; 17 nominations</string>
211
+ </value>
212
+ </data>
213
+ </array>
214
+ </value>
215
+ </member>
216
+ <member>
217
+ <name>genres</name>
218
+ <value>
219
+ <array>
220
+ <data>
221
+ <value>
222
+ <string>Drama</string>
223
+ </value>
224
+ </data>
225
+ </array>
226
+ </value>
227
+ </member>
228
+ <member>
229
+ <name>id</name>
230
+ <value>
231
+ <string>0176415</string>
232
+ </value>
233
+ </member>
234
+ <member>
235
+ <name>votes</name>
236
+ <value>
237
+ <string>1056</string>
238
+ </value>
239
+ </member>
240
+ <member>
241
+ <name>country</name>
242
+ <value>
243
+ <array>
244
+ <data>
245
+ <value>
246
+ <string>Spain</string>
247
+ </value>
248
+ </data>
249
+ </array>
250
+ </value>
251
+ </member>
252
+ <member>
253
+ <name>language</name>
254
+ <value>
255
+ <array>
256
+ <data>
257
+ <value>
258
+ <string>Spanish</string>
259
+ </value>
260
+ </data>
261
+ </array>
262
+ </value>
263
+ </member>
264
+ <member>
265
+ <name>directors</name>
266
+ <value>
267
+ <struct>
268
+ <member>
269
+ <name>_0305054</name>
270
+ <value>
271
+ <string>Jos&#195;&#169; Luis Garci</string>
272
+ </value>
273
+ </member>
274
+ </struct>
275
+ </value>
276
+ </member>
277
+ <member>
278
+ <name>duration</name>
279
+ <value>
280
+ <string>151 min</string>
281
+ </value>
282
+ </member>
283
+ <member>
284
+ <name>plot</name>
285
+ <value>
286
+ <string>After his son dies, an elderly man comes back to Spain from the US and hopes to find out which of his granddaughters is true, and which one is bastard.</string>
287
+ </value>
288
+ </member>
289
+ <member>
290
+ <name>title</name>
291
+ <value>
292
+ <string>El abuelo</string>
293
+ </value>
294
+ </member>
295
+ <member>
296
+ <name>aka</name>
297
+ <value>
298
+ <array>
299
+ <data>
300
+ <value>
301
+ <string>The Grandfather (Canada (English title) / International (English title) / USA)</string>
302
+ </value>
303
+ <value>
304
+ <string>A nagyapa (Hungary (imdb display title))</string>
305
+ </value>
306
+ <value>
307
+ <string>Dziadek (Poland)</string>
308
+ </value>
309
+ </data>
310
+ </array>
311
+ </value>
312
+ </member>
313
+ <member>
314
+ <name>year</name>
315
+ <value>
316
+ <string>1998</string>
317
+ </value>
318
+ </member>
319
+ <member>
320
+ <name>request_from</name>
321
+ <value>
322
+ <string>cache_redis</string>
323
+ </value>
324
+ </member>
325
+ </struct>
326
+ </value>
327
+ </member>
328
+ <member>
329
+ <name>seconds</name>
330
+ <value>
331
+ <double>0.005</double>
332
+ </value>
333
+ </member>
334
+ </struct>
335
+ </value>
336
+ </param>
337
+ </params>
338
+ </methodResponse>
339
+
340
+ http_version:
341
+ recorded_at: Sun, 04 Nov 2012 17:12:00 GMT
342
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,86 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.opensubtitles.org/xml-rpc
6
+ body:
7
+ string: |
8
+ <?xml version="1.0" ?><methodCall><methodName>LogIn</methodName><params><param><value><string></string></value></param><param><value><string></string></value></param><param><value><string>eng</string></value></param><param><value><string>OS Test User Agent</string></value></param></params></methodCall>
9
+
10
+ headers:
11
+ Accept:
12
+ - "*/*"
13
+ Content-Length:
14
+ - "304"
15
+ User-Agent:
16
+ - XMLRPC::Client (Ruby 1.8.7)
17
+ Content-Type:
18
+ - text/xml; charset=utf-8
19
+ Connection:
20
+ - keep-alive
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ X-Cache:
27
+ - MISS
28
+ Age:
29
+ - "0"
30
+ X-Cache-Backend:
31
+ - www
32
+ Cache-Control:
33
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
34
+ Set-Cookie:
35
+ - PHPSESSID=qtqkphpa0us78eikqtdtg4jic7; path=/
36
+ Pragma:
37
+ - no-cache
38
+ Vary:
39
+ - Accept-Encoding
40
+ Expires:
41
+ - Thu, 19 Nov 1981 08:52:00 GMT
42
+ Content-Length:
43
+ - "503"
44
+ Content-Type:
45
+ - text/xml
46
+ Connection:
47
+ - keep-alive
48
+ Accept-Ranges:
49
+ - bytes
50
+ Date:
51
+ - Sun, 04 Nov 2012 17:11:33 GMT
52
+ body:
53
+ string: |
54
+ <?xml version="1.0" encoding="utf-8"?>
55
+ <methodResponse>
56
+ <params>
57
+ <param>
58
+ <value>
59
+ <struct>
60
+ <member>
61
+ <name>token</name>
62
+ <value>
63
+ <string>qtqkphpa0us78eikqtdtg4jic7</string>
64
+ </value>
65
+ </member>
66
+ <member>
67
+ <name>status</name>
68
+ <value>
69
+ <string>200 OK</string>
70
+ </value>
71
+ </member>
72
+ <member>
73
+ <name>seconds</name>
74
+ <value>
75
+ <double>0.01</double>
76
+ </value>
77
+ </member>
78
+ </struct>
79
+ </value>
80
+ </param>
81
+ </params>
82
+ </methodResponse>
83
+
84
+ http_version:
85
+ recorded_at: Sun, 04 Nov 2012 17:11:33 GMT
86
+ recorded_with: VCR 2.3.0
@@ -0,0 +1,68 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.opensubtitles.org/xml-rpc
6
+ body:
7
+ string: |
8
+ <?xml version="1.0" ?><methodCall><methodName>LogOut</methodName><params><param><value><string>qtqkphpa0us78eikqtdtg4jic7</string></value></param></params></methodCall>
9
+
10
+ headers:
11
+ Accept:
12
+ - "*/*"
13
+ Cookie:
14
+ - PHPSESSID=qtqkphpa0us78eikqtdtg4jic7
15
+ Content-Length:
16
+ - "169"
17
+ User-Agent:
18
+ - XMLRPC::Client (Ruby 1.8.7)
19
+ Content-Type:
20
+ - text/xml; charset=utf-8
21
+ Connection:
22
+ - keep-alive
23
+ response:
24
+ status:
25
+ code: 200
26
+ message: OK
27
+ headers:
28
+ X-Cache:
29
+ - MISS
30
+ Age:
31
+ - "0"
32
+ X-Cache-Backend:
33
+ - www
34
+ Vary:
35
+ - Accept-Encoding
36
+ Content-Length:
37
+ - "326"
38
+ Content-Type:
39
+ - text/xml
40
+ Connection:
41
+ - keep-alive
42
+ Accept-Ranges:
43
+ - bytes
44
+ Date:
45
+ - Sun, 04 Nov 2012 17:11:35 GMT
46
+ body:
47
+ string: |-
48
+ <methodResponse>
49
+ <params>
50
+ <param>
51
+ <value>
52
+ <struct>
53
+ <member>
54
+ <name>status</name>
55
+ <value><string>200 OK</string></value>
56
+ </member>
57
+ <member>
58
+ <name>seconds</name>
59
+ <value><double>0.001</double></value>
60
+ </member>
61
+ </struct>
62
+ </value>
63
+ </param>
64
+ </params>
65
+ </methodResponse>
66
+ http_version:
67
+ recorded_at: Sun, 04 Nov 2012 17:11:35 GMT
68
+ recorded_with: VCR 2.3.0