twitter-openapi-typescript 0.0.31 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,28 +9,29 @@ npm i twitter-openapi-typescript
9
9
  ## Usage
10
10
 
11
11
  ```typescript
12
- import { TwitterOpenApi } from "twitter-openapi-typescript";
12
+ import { TwitterOpenApi } from 'twitter-openapi-typescript';
13
13
 
14
- const api = new TwitterOpenApi();
15
- const client = await api.getGuestClient();
16
- const response = await client.getUserApi().getUserByScreenName({ screenName: 'elonmusk' });
17
- console.log(response.data.legacy.screenName);
18
- console.log(`followCount: ${response.data.legacy.friendsCount} followersCount: ${response.data.legacy.followersCount}`);
14
+ const api = new TwitterOpenApi();
15
+ const client = await api.getGuestClient();
16
+ const response = await client.getUserApi().getUserByScreenName({ screenName: 'elonmusk' });
17
+ console.log(response.data.legacy.screenName);
18
+ console.log(`followCount: ${response.data.legacy.friendsCount} followersCount: ${response.data.legacy.followersCount}`);
19
19
  ```
20
20
 
21
21
  ### Login
22
22
 
23
23
  ```typescript
24
- // ct0 and authToken will also work but it is recommended to set all cookies.
25
- const client = await api.getClientFromCookies({
26
- ct0: "<csrf_token>",
27
- auth_token: "<auth_token>",
28
- });
24
+ // ct0 and authToken will also work but it is recommended to set all cookies.
25
+ const client = await api.getClientFromCookies({
26
+ ct0: '<csrf_token>',
27
+ auth_token: '<auth_token>',
28
+ });
29
29
  ```
30
30
 
31
31
  ### List of APIs
32
32
 
33
33
  You should read the Test case.
34
+ aaaaa
34
35
 
35
36
  <https://github.com/fa0311/twitter-openapi-typescript/tree/master/twitter-openapi-typescript/test/api>
36
37
 
@@ -39,13 +40,13 @@ You should read the Test case.
39
40
  Most values exist as static variables. There is no need to change them.
40
41
 
41
42
  ```typescript
42
- import { TwitterOpenApi } from "twitter-openapi-typescript";
43
- TwitterOpenApi.url = "twitter-openapi placeholder json url";
44
- TwitterOpenApi.twitter = "twitter first access url";
45
- TwitterOpenApi.userAgent = "user agent";
46
- TwitterOpenApi.bearer = "bearer token";
47
- TwitterOpenApi.browser_headers = "browser headers";
48
- TwitterOpenApi.api_key = "api key";
43
+ import { TwitterOpenApi } from 'twitter-openapi-typescript';
44
+ TwitterOpenApi.url = 'twitter-openapi placeholder json url';
45
+ TwitterOpenApi.twitter = 'twitter first access url';
46
+ TwitterOpenApi.userAgent = 'user agent';
47
+ TwitterOpenApi.bearer = 'bearer token';
48
+ TwitterOpenApi.browser_headers = 'browser headers';
49
+ TwitterOpenApi.api_key = 'api key';
49
50
  ```
50
51
 
51
52
  ## License
package/cookies.json ADDED
@@ -0,0 +1,476 @@
1
+ [
2
+ {
3
+ "domain": ".google.com",
4
+ "expirationDate": 1730989729.258904,
5
+ "hostOnly": false,
6
+ "httpOnly": true,
7
+ "name": "SNID",
8
+ "path": "/verify",
9
+ "sameSite": "lax",
10
+ "secure": true,
11
+ "session": false,
12
+ "storeId": "0",
13
+ "value": "AKzhCTYyIMYe7SbobB_LljR4gHI-KwuIOih2Xg3KM-V0OPWSrGvZI27NPJlCYhnWSeElXjY12a0IbUJRS6yb8ztATWQTzPi3F4o"
14
+ },
15
+ {
16
+ "domain": ".t.co",
17
+ "expirationDate": 1749717719.285658,
18
+ "hostOnly": false,
19
+ "httpOnly": false,
20
+ "name": "muc_ads",
21
+ "path": "/",
22
+ "sameSite": "no_restriction",
23
+ "secure": true,
24
+ "session": false,
25
+ "storeId": "0",
26
+ "value": "57dbafb7-cbdb-450d-b7e7-ef2f921e85d4"
27
+ },
28
+ {
29
+ "domain": ".twitter.com",
30
+ "expirationDate": 1749740881.722929,
31
+ "hostOnly": false,
32
+ "httpOnly": false,
33
+ "name": "_ga",
34
+ "path": "/",
35
+ "sameSite": "unspecified",
36
+ "secure": false,
37
+ "session": false,
38
+ "storeId": "0",
39
+ "value": "GA1.2.1888940076.1715157719"
40
+ },
41
+ {
42
+ "domain": ".twitter.com",
43
+ "expirationDate": 1715267281,
44
+ "hostOnly": false,
45
+ "httpOnly": false,
46
+ "name": "_gid",
47
+ "path": "/",
48
+ "sameSite": "unspecified",
49
+ "secure": false,
50
+ "session": false,
51
+ "storeId": "0",
52
+ "value": "GA1.2.841993924.1715157719"
53
+ },
54
+ {
55
+ "domain": ".twitter.com",
56
+ "expirationDate": 1749740874.292342,
57
+ "hostOnly": false,
58
+ "httpOnly": true,
59
+ "name": "kdt",
60
+ "path": "/",
61
+ "sameSite": "unspecified",
62
+ "secure": true,
63
+ "session": false,
64
+ "storeId": "0",
65
+ "value": "HQjxS82XjlGh9mbbxhVJFGfIQfgo0FZIRFpiSyHF"
66
+ },
67
+ {
68
+ "domain": ".doubleclick.net",
69
+ "expirationDate": 1749717741.057308,
70
+ "hostOnly": false,
71
+ "httpOnly": true,
72
+ "name": "IDE",
73
+ "path": "/",
74
+ "sameSite": "no_restriction",
75
+ "secure": true,
76
+ "session": false,
77
+ "storeId": "0",
78
+ "value": "AHWqTUnJtDNNT-s3IJWz3J8OcQVpEWmRj96dbGlDKGgtWWMQ6WP1siaabdKy2_uOJnc"
79
+ },
80
+ {
81
+ "domain": ".proxsee.pscp.tv",
82
+ "expirationDate": 1716367546.646592,
83
+ "hostOnly": false,
84
+ "httpOnly": false,
85
+ "name": "user_id",
86
+ "path": "/",
87
+ "sameSite": "no_restriction",
88
+ "secure": true,
89
+ "session": false,
90
+ "storeId": "0",
91
+ "value": "Zk2wumVjNDM5MTBlLTNjNDQtNDRjNC01MTQzLTc4MzM5OTdiOTMwMlnsBtFtOLfGy02YawTKD_Sl3JYNM6hCNgUmcxESOQ91"
92
+ },
93
+ {
94
+ "domain": ".google.com",
95
+ "expirationDate": 1730720735.760436,
96
+ "hostOnly": false,
97
+ "httpOnly": true,
98
+ "name": "AEC",
99
+ "path": "/",
100
+ "sameSite": "lax",
101
+ "secure": true,
102
+ "session": false,
103
+ "storeId": "0",
104
+ "value": "AQTF6HzXYhwWOXbgORPML1mL_gv6wGW7yzV300Omog5SKvXNzSZXkoYDrA"
105
+ },
106
+ {
107
+ "domain": ".chromewebstore.google.com",
108
+ "expirationDate": 1749728739.487012,
109
+ "hostOnly": false,
110
+ "httpOnly": false,
111
+ "name": "_ga",
112
+ "path": "/",
113
+ "sameSite": "unspecified",
114
+ "secure": false,
115
+ "session": false,
116
+ "storeId": "0",
117
+ "value": "GA1.1.105733270.1715168739"
118
+ },
119
+ {
120
+ "domain": "chromewebstore.google.com",
121
+ "expirationDate": 1717760739,
122
+ "hostOnly": true,
123
+ "httpOnly": false,
124
+ "name": "OTZ",
125
+ "path": "/",
126
+ "sameSite": "unspecified",
127
+ "secure": true,
128
+ "session": false,
129
+ "storeId": "0",
130
+ "value": "7547746_20_20__20_"
131
+ },
132
+ {
133
+ "domain": ".chromewebstore.google.com",
134
+ "expirationDate": 1749728742.694508,
135
+ "hostOnly": false,
136
+ "httpOnly": false,
137
+ "name": "_ga_KHZNC1Q6K0",
138
+ "path": "/",
139
+ "sameSite": "unspecified",
140
+ "secure": false,
141
+ "session": false,
142
+ "storeId": "0",
143
+ "value": "GS1.1.1715168739.1.0.1715168742.0.0.0"
144
+ },
145
+ {
146
+ "domain": "accounts.google.com",
147
+ "expirationDate": 1749728744.797473,
148
+ "hostOnly": true,
149
+ "httpOnly": true,
150
+ "name": "__Host-GAPS",
151
+ "path": "/",
152
+ "sameSite": "unspecified",
153
+ "secure": true,
154
+ "session": false,
155
+ "storeId": "0",
156
+ "value": "1:_kfyStmFghYA9E4BEKuFXyjD3zchiw:kawa_k6xUMmo7rnc"
157
+ },
158
+ {
159
+ "domain": "accounts.google.com",
160
+ "expirationDate": 1717760746,
161
+ "hostOnly": true,
162
+ "httpOnly": false,
163
+ "name": "OTZ",
164
+ "path": "/",
165
+ "sameSite": "unspecified",
166
+ "secure": true,
167
+ "session": false,
168
+ "storeId": "0",
169
+ "value": "7547746_20_20__20_"
170
+ },
171
+ {
172
+ "domain": ".twitter.com",
173
+ "expirationDate": 1749740880.325536,
174
+ "hostOnly": false,
175
+ "httpOnly": false,
176
+ "name": "dnt",
177
+ "path": "/",
178
+ "sameSite": "no_restriction",
179
+ "secure": true,
180
+ "session": false,
181
+ "storeId": "0",
182
+ "value": "1"
183
+ },
184
+ {
185
+ "domain": ".twitter.com",
186
+ "expirationDate": 1715188388.606841,
187
+ "hostOnly": false,
188
+ "httpOnly": false,
189
+ "name": "gt",
190
+ "path": "/",
191
+ "sameSite": "unspecified",
192
+ "secure": true,
193
+ "session": false,
194
+ "storeId": "0",
195
+ "value": "1788218082475082129"
196
+ },
197
+ {
198
+ "domain": ".arkoselabs.com",
199
+ "hostOnly": false,
200
+ "httpOnly": true,
201
+ "name": "_cfuvid",
202
+ "path": "/",
203
+ "sameSite": "no_restriction",
204
+ "secure": true,
205
+ "session": true,
206
+ "storeId": "0",
207
+ "value": "sa1u2OEMX_vq48reMXmy3ZpAhImp1V47zo3kfHYx2u4-1715179412267-0.0.1.1-604800000"
208
+ },
209
+ {
210
+ "domain": "twitter.com",
211
+ "hostOnly": true,
212
+ "httpOnly": false,
213
+ "name": "lang",
214
+ "path": "/",
215
+ "sameSite": "unspecified",
216
+ "secure": false,
217
+ "session": true,
218
+ "storeId": "0",
219
+ "value": "en"
220
+ },
221
+ {
222
+ "domain": ".google.com",
223
+ "expirationDate": 1717772336.393113,
224
+ "hostOnly": false,
225
+ "httpOnly": false,
226
+ "name": "1P_JAR",
227
+ "path": "/",
228
+ "sameSite": "no_restriction",
229
+ "secure": true,
230
+ "session": false,
231
+ "storeId": "0",
232
+ "value": "2024-05-08-14"
233
+ },
234
+ {
235
+ "domain": "github.com",
236
+ "hostOnly": true,
237
+ "httpOnly": true,
238
+ "name": "_gh_sess",
239
+ "path": "/",
240
+ "sameSite": "lax",
241
+ "secure": true,
242
+ "session": true,
243
+ "storeId": "0",
244
+ "value": "RvbyRH2ZkCKkTqoEuovwu3aQzq7H2FLbvEHB5KuZIASQ9wlFnIcV5q3TbVXZ3eUTDCL%2B2bsXu%2BMbb6ykHX36cBu%2Blk92vcDgxs8Jgwl67ZwZgv82b1Y%2BJYAXHU0g10eziwWFAoeK4IN27MyuZrGwSaspJSzCkXwv2UXl%2Fx8kYPhz56A4rGcroXCyKMKgz3h%2BoBGDBmHHcgqOp1sqh%2Bzn7NI%2Bcm8fXL9jpagDl7qj1v6req8fsF27kngO6ad14w7fXlBhPx3nQdYGi1UVpXmdkA%3D%3D--zYGIVtNEp1EaZJLG--rNGvMkHreT%2Fml43wpOZ4Lg%3D%3D"
245
+ },
246
+ {
247
+ "domain": ".github.com",
248
+ "expirationDate": 1746715800.140105,
249
+ "hostOnly": false,
250
+ "httpOnly": false,
251
+ "name": "_octo",
252
+ "path": "/",
253
+ "sameSite": "lax",
254
+ "secure": true,
255
+ "session": false,
256
+ "storeId": "0",
257
+ "value": "GH1.1.270146096.1715179800"
258
+ },
259
+ {
260
+ "domain": ".github.com",
261
+ "expirationDate": 1746715800.140129,
262
+ "hostOnly": false,
263
+ "httpOnly": true,
264
+ "name": "logged_in",
265
+ "path": "/",
266
+ "sameSite": "lax",
267
+ "secure": true,
268
+ "session": false,
269
+ "storeId": "0",
270
+ "value": "no"
271
+ },
272
+ {
273
+ "domain": ".github.com",
274
+ "hostOnly": false,
275
+ "httpOnly": false,
276
+ "name": "preferred_color_mode",
277
+ "path": "/",
278
+ "sameSite": "lax",
279
+ "secure": true,
280
+ "session": true,
281
+ "storeId": "0",
282
+ "value": "light"
283
+ },
284
+ {
285
+ "domain": ".github.com",
286
+ "hostOnly": false,
287
+ "httpOnly": false,
288
+ "name": "tz",
289
+ "path": "/",
290
+ "sameSite": "lax",
291
+ "secure": true,
292
+ "session": true,
293
+ "storeId": "0",
294
+ "value": "Asia%2FTokyo"
295
+ },
296
+ {
297
+ "domain": ".google.com",
298
+ "expirationDate": 1730991097.991571,
299
+ "hostOnly": false,
300
+ "httpOnly": true,
301
+ "name": "NID",
302
+ "path": "/",
303
+ "sameSite": "no_restriction",
304
+ "secure": true,
305
+ "session": false,
306
+ "storeId": "0",
307
+ "value": "514=wlqOMEBJfcOEe_Gi5vEp3VtvuDXBNpXxqIA9ubXaw-jUVPVzJwfhWVKii9EEP6PxujoMtl9XLabDHfAAB1rna47igcW6jUCrAKT3L1Mv60PjCMzJx0cwXqvbtHeV_3_5vtXiLERTVTl8Nw06JGcStlCi6fwecrRve9T8K5QHsL4WzTLTRW2JX1NfhKVd-4-xdmy60_BGSA"
308
+ },
309
+ {
310
+ "domain": "api.twitter.com",
311
+ "hostOnly": true,
312
+ "httpOnly": false,
313
+ "name": "lang",
314
+ "path": "/",
315
+ "sameSite": "unspecified",
316
+ "secure": false,
317
+ "session": true,
318
+ "storeId": "0",
319
+ "value": "en"
320
+ },
321
+ {
322
+ "domain": ".twitter.com",
323
+ "expirationDate": 1730948351.955283,
324
+ "hostOnly": false,
325
+ "httpOnly": false,
326
+ "name": "tweetdeck_version",
327
+ "path": "/",
328
+ "sameSite": "no_restriction",
329
+ "secure": true,
330
+ "session": false,
331
+ "storeId": "0",
332
+ "value": "legacy"
333
+ },
334
+ {
335
+ "domain": "pro.twitter.com",
336
+ "hostOnly": true,
337
+ "httpOnly": false,
338
+ "name": "lang",
339
+ "path": "/",
340
+ "sameSite": "unspecified",
341
+ "secure": false,
342
+ "session": true,
343
+ "storeId": "0",
344
+ "value": "en"
345
+ },
346
+ {
347
+ "domain": "www.google.com",
348
+ "expirationDate": 1715180936,
349
+ "hostOnly": true,
350
+ "httpOnly": false,
351
+ "name": "DV",
352
+ "path": "/",
353
+ "sameSite": "unspecified",
354
+ "secure": false,
355
+ "session": false,
356
+ "storeId": "0",
357
+ "value": "4yeQIqAzwgEeMMNiN6YW-gYkVm-L9Rg"
358
+ },
359
+ {
360
+ "domain": ".twitter.com",
361
+ "expirationDate": 1749740880.325569,
362
+ "hostOnly": false,
363
+ "httpOnly": false,
364
+ "name": "ads_prefs",
365
+ "path": "/",
366
+ "sameSite": "no_restriction",
367
+ "secure": true,
368
+ "session": false,
369
+ "storeId": "0",
370
+ "value": "\"HBESAAA=\""
371
+ },
372
+ {
373
+ "domain": ".twitter.com",
374
+ "expirationDate": 1749740881.852635,
375
+ "hostOnly": false,
376
+ "httpOnly": true,
377
+ "name": "auth_multi",
378
+ "path": "/",
379
+ "sameSite": "lax",
380
+ "secure": true,
381
+ "session": false,
382
+ "storeId": "0",
383
+ "value": "\"1788218252742823936:bbc205f6bd8b3bfd1cc849b866ea19d0f701f458\""
384
+ },
385
+ {
386
+ "domain": ".twitter.com",
387
+ "expirationDate": 1749740880.32569,
388
+ "hostOnly": false,
389
+ "httpOnly": true,
390
+ "name": "auth_token",
391
+ "path": "/",
392
+ "sameSite": "no_restriction",
393
+ "secure": true,
394
+ "session": false,
395
+ "storeId": "0",
396
+ "value": "567887642cac128d436f1669838eff8634ed636c"
397
+ },
398
+ {
399
+ "domain": ".twitter.com",
400
+ "expirationDate": 1749740880.533348,
401
+ "hostOnly": false,
402
+ "httpOnly": false,
403
+ "name": "guest_id_ads",
404
+ "path": "/",
405
+ "sameSite": "no_restriction",
406
+ "secure": true,
407
+ "session": false,
408
+ "storeId": "0",
409
+ "value": "v1%3A171518088096909817"
410
+ },
411
+ {
412
+ "domain": ".twitter.com",
413
+ "expirationDate": 1749740880.533414,
414
+ "hostOnly": false,
415
+ "httpOnly": false,
416
+ "name": "guest_id_marketing",
417
+ "path": "/",
418
+ "sameSite": "no_restriction",
419
+ "secure": true,
420
+ "session": false,
421
+ "storeId": "0",
422
+ "value": "v1%3A171518088096909817"
423
+ },
424
+ {
425
+ "domain": ".twitter.com",
426
+ "expirationDate": 1749740880.533452,
427
+ "hostOnly": false,
428
+ "httpOnly": false,
429
+ "name": "personalization_id",
430
+ "path": "/",
431
+ "sameSite": "no_restriction",
432
+ "secure": true,
433
+ "session": false,
434
+ "storeId": "0",
435
+ "value": "\"v1_ispLgIrF3rIBtScCPEXUiQ==\""
436
+ },
437
+ {
438
+ "domain": ".twitter.com",
439
+ "expirationDate": 1749740880.533465,
440
+ "hostOnly": false,
441
+ "httpOnly": false,
442
+ "name": "guest_id",
443
+ "path": "/",
444
+ "sameSite": "no_restriction",
445
+ "secure": true,
446
+ "session": false,
447
+ "storeId": "0",
448
+ "value": "v1%3A171518088096909817"
449
+ },
450
+ {
451
+ "domain": ".twitter.com",
452
+ "expirationDate": 1746716881.146142,
453
+ "hostOnly": false,
454
+ "httpOnly": false,
455
+ "name": "twid",
456
+ "path": "/",
457
+ "sameSite": "no_restriction",
458
+ "secure": true,
459
+ "session": false,
460
+ "storeId": "0",
461
+ "value": "u%3D1788224200639160320"
462
+ },
463
+ {
464
+ "domain": ".twitter.com",
465
+ "expirationDate": 1749740880.533493,
466
+ "hostOnly": false,
467
+ "httpOnly": false,
468
+ "name": "ct0",
469
+ "path": "/",
470
+ "sameSite": "lax",
471
+ "secure": true,
472
+ "session": false,
473
+ "storeId": "0",
474
+ "value": "939d1bf1a7a33aaed8e1b6353f83d86432dd22c670cbfee39f2321272fd2944b5fddb9f71ea396e2866870cbc6f4c4a54a759afb3ef3798a3ac5033e65eb64e631e8193ab48cdcc07069978c3b407eea"
475
+ }
476
+ ]
package/dist/src/api.d.ts CHANGED
@@ -5,39 +5,15 @@ import { UsersApiUtils } from './apis/usersApi';
5
5
  export declare class TwitterOpenApi {
6
6
  static hash: string;
7
7
  static url: string;
8
+ static header: string;
8
9
  static twitter: string;
9
- static userAgent: string;
10
10
  static bearer: string;
11
- static browser_headers: {
12
- accept: string;
13
- 'accept-encoding': string;
14
- 'accept-language': string;
15
- 'cache-control': string;
16
- pragma: string;
17
- 'sec-ch-ua': string;
18
- 'sec-ch-ua-mobile': string;
19
- 'sec-ch-ua-platform': string;
20
- 'sec-fetch-dest': string;
21
- 'sec-fetch-mode': string;
22
- 'sec-fetch-site': string;
23
- 'user-agent': string;
24
- };
25
- static api_key: {
26
- accept: string;
27
- 'accept-encoding': string;
28
- 'accept-language': string;
29
- 'cache-control': string;
30
- pragma: string;
31
- 'sec-ch-ua': string;
32
- 'sec-ch-ua-mobile': string;
33
- 'sec-ch-ua-platform': string;
34
- 'sec-fetch-dest': string;
35
- 'sec-fetch-mode': string;
36
- 'sec-fetch-site': string;
37
- 'user-agent': string;
38
- 'x-twitter-client-language': string;
39
- 'x-twitter-active-user': string;
40
- };
11
+ get_browser_headers(): Promise<{
12
+ [key: string]: string;
13
+ }>;
14
+ get_api_key(): Promise<{
15
+ [key: string]: string;
16
+ }>;
41
17
  static fetchApi: i.FetchAPI;
42
18
  initOverrides: initOverrides;
43
19
  setInitOverrides(initOverrides: initOverrides): void;
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,cAAc,EACf,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,KAAK,CAAC,MAAM,sCAAsC,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,qBAAa,cAAc;IACzB,MAAM,CAAC,IAAI,SAA8C;IACzD,MAAM,CAAC,GAAG,SAAuG;IACjH,MAAM,CAAC,OAAO,SAA8B;IAE5C,MAAM,CAAC,SAAS,SACoG;IACpH,MAAM,CAAC,MAAM,SACgG;IAE7G,MAAM,CAAC,eAAe;;;;;;;;;;;;;MAapB;IAEF,MAAM,CAAC,OAAO;;;;;;;;;;;;;;;MAIZ;IAEF,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAA0B;IAErD,aAAa,EAAE,aAAa,CAAM;IAElC,gBAAgB,CAAC,aAAa,EAAE,aAAa,GAAG,IAAI;IAIpD,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE;IAO7D,YAAY,CAAC,MAAM,EAAE;QAAE,CAAC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