-
Notifications
You must be signed in to change notification settings - Fork 791
/
Copy pathNYTimes.com.js
858 lines (837 loc) · 21.2 KB
/
NYTimes.com.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
{
"translatorID": "ce7a3727-d184-407f-ac12-52837f3361ff",
"label": "NYTimes.com",
"creator": "Philipp Zumstein",
"target": "^https?://(query\\.nytimes\\.com/(search|gst)/|(select\\.|www\\.|mobile\\.|[^\\/.]*\\.blogs\\.)?nytimes\\.com/)",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2021-01-22 19:34:13"
}
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2017 Philipp Zumstein
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Zotero is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Zotero. If not, see <http://www.gnu.org/licenses/>.
***** END LICENSE BLOCK *****
*/
function detectWeb(doc, url) {
// we use another function name to avoid confusions with the
// same function from the called EM translator (sigh)
return detectWebHere(doc, url);
}
function detectWebHere(doc, url) {
if (url.includes('/search') && getSearchResults(doc, true)) {
return "multiple";
}
if (ZU.xpathText(doc, '//meta[@property="og:type" and @content="article"]/@content')) {
if (url.includes('blog')) {
return "blogPost";
}
else {
return "newspaperArticle";
}
}
return false;
}
function scrape(doc, url) {
var type = detectWebHere(doc, url);
var translator = Zotero.loadTranslator('web');
// Embedded Metadata
translator.setTranslator('951c027d-74ac-47d4-a107-9c3069ab7b48');
// translator.setDocument(doc);
translator.setHandler('itemDone', function (obj, item) {
item.itemType = type;
if (item.language) {
if (item.language === "en") {
item.language = "en-US";
}
}
else {
item.language = ZU.xpathText(doc, '//meta[@itemprop="inLanguage"]/@content') || "en-US";
}
if (item.date) {
item.date = ZU.strToISO(item.date);
}
else {
item.date = attr(doc, 'time[datetime]', 'datetime')
|| attr(doc, 'meta[itemprop="datePublished"]', 'content')
|| attr(doc, 'meta[itemprop="dateModified"]', 'content');
}
if (item.itemType == "blogPost") {
item.blogTitle = ZU.xpathText(doc, '//meta[@property="og:site_name"]/@content');
}
else {
item.publicationTitle = "The New York Times";
item.ISSN = "0362-4331";
}
// Multiple authors are (sometimes) just put into the same Metadata field
var authors = attr(doc, 'meta[name="author"]', 'content') || attr(doc, 'meta[name="byl"]', 'content') || text(doc, '*[class^="Byline-bylineAuthor--"]');
if (authors && item.creators.length <= 1) {
authors = authors.replace(/^By /, '');
if (authors == authors.toUpperCase()) { // convert to title case if all caps
authors = ZU.capitalizeTitle(authors, true);
}
item.creators = [];
var authorsList = authors.split(/,|\band\b/);
for (let i = 0; i < authorsList.length; i++) {
item.creators.push(ZU.cleanAuthor(authorsList[i], "author"));
}
}
item.url = ZU.xpathText(doc, '//link[@rel="canonical"]/@href') || url;
if (item.url && item.url.substr(0, 2) == "//") {
item.url = "https:" + item.url;
}
item.libraryCatalog = "NYTimes.com";
// Convert all caps title of NYT archive pages to title case
if (item.title == item.title.toUpperCase()) {
item.title = ZU.capitalizeTitle(item.title, true);
}
// Strip "(Published [YEAR])" from old articles
item.title = item.title.replace(/\s+\(Published \d{4}\)$/, '');
// Only force all caps to title case when all tags are all caps
var allcaps = true;
for (let i = 0; i < item.tags.length; i++) {
if (item.tags[i] != item.tags[i].toUpperCase()) {
allcaps = false;
break;
}
}
if (allcaps) {
for (let i = 0; i < item.tags.length; i++) {
item.tags[i] = ZU.capitalizeTitle(item.tags[i], true);
}
}
/* TODO: Fix saving the PDF attachment which is currently broken
// PDF attachments are in subURL with key & signature
var pdfurl = ZU.xpathText(doc, '//div[@id="articleAccess"]//span[@class="downloadPDF"]/a[contains(@href, "/pdf")]/@href | //a[@class="button download-pdf-button"]/@href');
if (pdfurl) {
ZU.processDocuments(pdfurl,
function(pdfDoc) {
authenticatedPDFURL = pdfDoc.getElementById('archivePDF').src;
if (authenticatedPDFURL) {
item.attachments.push({
title: "NYTimes Archive PDF",
mimeType: 'application/pdf',
url: authenticatedPDFURL
});
} else {
Z.debug("Could not find authenticated PDF URL");
item.complete();
}
},
function() {
Z.debug("PDF retrieved: "+authenticatedPDFURL);
item.complete();
}
);
} else {
*/
Z.debug("Not attempting PDF retrieval");
item.complete();
// }
});
translator.getTranslatorObject(function (trans) {
trans.splitTags = false;
trans.addCustomFields({
dat: 'date',
});
trans.doWeb(doc, url);
});
}
function getSearchResults(doc, checkOnly) {
var items = {};
var found = false;
var rows = doc.querySelectorAll('li[data-testid*="result"]');
for (var i = 0; i < rows.length; i++) {
var href = ZU.xpathText(rows[i], '(.//a)[1]/@href');
var title = ZU.xpathText(rows[i], './/h4');
if (!href || !title) continue;
if (checkOnly) return true;
found = true;
items[href] = title;
}
return found ? items : false;
}
function doWeb(doc, url) {
if (detectWeb(doc, url) == "multiple") {
Zotero.selectItems(getSearchResults(doc, false), function (items) {
if (!items) {
return;
}
var articles = [];
for (var i in items) {
articles.push(i);
}
ZU.processDocuments(articles, scrape);
});
}
else {
scrape(doc, url);
}
}
/** BEGIN TEST CASES **/
var testCases = [
{
"type": "web",
"url": "https://www.nytimes.com/1912/03/05/archives/two-money-inquiries-hearings-of-trust-charges-and-aldrich-plan-at.html",
"items": [
{
"itemType": "newspaperArticle",
"title": "TWO MONEY INQUIRIES.; Hearings of Trust Charges and Aldrich Plan at the Same Time.",
"creators": [
{
"firstName": "Special to The New York",
"lastName": "Times",
"creatorType": "author"
}
],
"date": "1912-03-05",
"ISSN": "0362-4331",
"abstractNote": "com weighs holding simultaneous hearings on money trust and Aldrich plan",
"language": "en-US",
"libraryCatalog": "NYTimes.com",
"publicationTitle": "The New York Times",
"section": "Archives",
"url": "https://www.nytimes.com/1912/03/05/archives/two-money-inquiries-hearings-of-trust-charges-and-aldrich-plan-at.html",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Banks and Banking"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.nytimes.com/2010/08/21/education/21harvard.html?_r=1&scp=1&sq=marc%20hauser&st=cse",
"items": [
{
"itemType": "newspaperArticle",
"title": "Harvard Finds Scientist Guilty of Misconduct",
"creators": [
{
"firstName": "Nicholas",
"lastName": "Wade",
"creatorType": "author"
}
],
"date": "2010-08-21",
"ISSN": "0362-4331",
"abstractNote": "The university has found Marc Hauser “solely responsible” for eight instances of scientific misconduct.",
"language": "en-US",
"libraryCatalog": "NYTimes.com",
"publicationTitle": "The New York Times",
"section": "Education",
"url": "https://www.nytimes.com/2010/08/21/education/21harvard.html",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Ethics"
},
{
"tag": "Harvard University"
},
{
"tag": "Hauser, Marc D"
},
{
"tag": "Research"
},
{
"tag": "Science and Technology"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.nytimes.com/search?query=marc%20hauser&sort=best",
"defer": true,
"items": "multiple"
},
{
"type": "web",
"url": "https://opinionator.blogs.nytimes.com/2013/06/19/our-broken-social-contract/",
"items": [
{
"itemType": "blogPost",
"title": "Our Broken Social Contract",
"creators": [
{
"firstName": "Thomas B.",
"lastName": "Edsall",
"creatorType": "author"
}
],
"date": "2013-06-19",
"abstractNote": "At their core, are America’s problems primarily economic or moral?",
"blogTitle": "Opinionator",
"language": "en-US",
"url": "https://opinionator.blogs.nytimes.com/2013/06/19/our-broken-social-contract/",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Economic Conditions and Trends"
},
{
"tag": "Income Inequality"
},
{
"tag": "Social Conditions and Trends"
},
{
"tag": "Thomas B. Edsall"
},
{
"tag": "United States"
},
{
"tag": "United States Economy"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.nytimes.com/2015/05/10/nyregion/manicurists-in-new-york-area-are-underpaid-and-unprotected.html?_r=0",
"items": [
{
"itemType": "newspaperArticle",
"title": "반짝이는 매니큐어에 숨겨진 네일 미용사들의 어두운 삶",
"creators": [
{
"firstName": "Sarah Maslin",
"lastName": "Nir",
"creatorType": "author"
}
],
"date": "2015-05-07",
"ISSN": "0362-4331",
"abstractNote": "뉴욕타임스는 취재 중 많은 네일숍 직원들이 부당한 대우와 인종차별 및 학대에 흔하게 시달리며 정부 노동자법률기구의 보호도 제대로 받지 못한다는 사실을 발견했다.",
"language": "ko-KR",
"libraryCatalog": "NYTimes.com",
"publicationTitle": "The New York Times",
"section": "New York",
"url": "https://www.nytimes.com/2015/05/10/nyregion/manicurists-in-new-york-area-are-underpaid-and-unprotected.html",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Beauty Salons"
},
{
"tag": "Discrimination"
},
{
"tag": "Korean-Americans"
},
{
"tag": "Labor and Jobs"
},
{
"tag": "New York City"
},
{
"tag": "Wages and Salaries"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.nytimes.com/2017/05/24/us/politics/russia-trump-manafort-flynn.html?hp&action=click&pgtype=Homepage&clickSource=story-heading&module=span-ab-top-region®ion=top-news&WT.nav=top-news&_r=0",
"items": [
{
"itemType": "newspaperArticle",
"title": "Top Russian Officials Discussed How to Influence Trump Aides Last Summer",
"creators": [
{
"firstName": "Matthew",
"lastName": "Rosenberg",
"creatorType": "author"
},
{
"firstName": "Adam",
"lastName": "Goldman",
"creatorType": "author"
},
{
"firstName": "Matt",
"lastName": "Apuzzo",
"creatorType": "author"
}
],
"date": "2017-05-24",
"ISSN": "0362-4331",
"abstractNote": "American spies collected intelligence last summer revealing that Russians were debating how to work with Trump advisers, current and former officials say.",
"language": "en-US",
"libraryCatalog": "NYTimes.com",
"publicationTitle": "The New York Times",
"section": "U.S.",
"url": "https://www.nytimes.com/2017/05/24/us/politics/russia-trump-manafort-flynn.html",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Cyberwarfare and Defense"
},
{
"tag": "Espionage and Intelligence Services"
},
{
"tag": "Flynn, Michael T"
},
{
"tag": "Manafort, Paul J"
},
{
"tag": "Presidential Election of 2016"
},
{
"tag": "Russia"
},
{
"tag": "Trump, Donald J"
},
{
"tag": "United States Politics and Government"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.nytimes.com/1966/09/12/archives/draft-deferment-scored-at-rutgers.html?login=email&auth=login-email",
"items": [
{
"itemType": "newspaperArticle",
"title": "Draft Deferment Scored at Rutgers",
"creators": [],
"date": "1966-09-12",
"ISSN": "0362-4331",
"abstractNote": "P Goodman urges Rutgers U students to campaign for abolition of student deferment, s, freshman orientation",
"language": "en-US",
"libraryCatalog": "NYTimes.com",
"publicationTitle": "The New York Times",
"section": "Archives",
"url": "https://www.nytimes.com/1966/09/12/archives/draft-deferment-scored-at-rutgers.html",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Colleges and Universities"
},
{
"tag": "Draft and Mobilization of Troops"
},
{
"tag": "Miscellaneous Section"
},
{
"tag": "United States"
},
{
"tag": "United States Armament and Defense"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.nytimes.com/1970/11/12/archives/ideological-labels-changing-along-with-the-labelmakers-ideological.html",
"items": [
{
"itemType": "newspaperArticle",
"title": "Ideological Labels Changing Along With the Label–Makers",
"creators": [
{
"firstName": "Israel",
"lastName": "Shenker",
"creatorType": "author"
}
],
"date": "1970-11-12",
"ISSN": "0362-4331",
"abstractNote": "Comment on labeling pol ideology of intellectuals, apropos of Prof N Glazer coming pub of book of essays on subject; Glazer classification of P Goodman, D Macdonald, M Harrington, I Howe and late C W Mills noted; Goodman, Macdonald, Howe, Harrington, Prof Trilling, I Kristol, N Podhoretz, D Bell, B Rustin, Prof H Rosenberg comment; some pors",
"language": "en-US",
"libraryCatalog": "NYTimes.com",
"publicationTitle": "The New York Times",
"section": "Archives",
"url": "https://www.nytimes.com/1970/11/12/archives/ideological-labels-changing-along-with-the-labelmakers-ideological.html",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Bell, Daniel"
},
{
"tag": "Glazer, Nathan"
},
{
"tag": "Goodman, Paul"
},
{
"tag": "Howe, Irving"
},
{
"tag": "Intellectuals"
},
{
"tag": "Kristol, Irving"
},
{
"tag": "Macdonald, Dwight"
},
{
"tag": "Podhoretz, Norman"
},
{
"tag": "Politics and Government"
},
{
"tag": "Trilling, Lionel"
},
{
"tag": "United States"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.nytimes.com/2017/07/03/business/oreo-new-flavors.html",
"items": [
{
"itemType": "newspaperArticle",
"title": "When Just Vanilla Won’t Do, How About a Blueberry Pie Oreo?",
"creators": [
{
"firstName": "Maya",
"lastName": "Salam",
"creatorType": "author"
}
],
"date": "2017-07-03",
"ISSN": "0362-4331",
"abstractNote": "The company has increasingly been experimenting with limited-edition flavors that seemed designed as much for an Instagram feed as they are to be eaten.",
"language": "en-US",
"libraryCatalog": "NYTimes.com",
"publicationTitle": "The New York Times",
"section": "Business",
"url": "https://www.nytimes.com/2017/07/03/business/oreo-new-flavors.html",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Contests and Prizes"
},
{
"tag": "Cookies"
},
{
"tag": "Mondelez International Inc"
},
{
"tag": "Oreo"
},
{
"tag": "Social Media"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.nytimes.com/2018/01/11/opinion/social-media-dumber-steven-pinker.html",
"items": [
{
"itemType": "newspaperArticle",
"title": "Opinion | Social Media Is Making Us Dumber. Here’s Exhibit A.",
"creators": [
{
"firstName": "Jesse",
"lastName": "Singal",
"creatorType": "author"
}
],
"date": "2018-01-12",
"ISSN": "0362-4331",
"abstractNote": "Steven Pinker is a liberal, Jewish professor. But social media convinced people that he’s a darling of the alt-right.",
"language": "en-US",
"libraryCatalog": "NYTimes.com",
"publicationTitle": "The New York Times",
"section": "Opinion",
"url": "https://www.nytimes.com/2018/01/11/opinion/social-media-dumber-steven-pinker.html",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Anti-Semitism"
},
{
"tag": "Fringe Groups and Movements"
},
{
"tag": "Harvard University"
},
{
"tag": "Jews and Judaism"
},
{
"tag": "Pinker, Steven"
},
{
"tag": "Social Media"
},
{
"tag": "Twitter"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.nytimes.com/interactive/2017/11/10/us/men-accused-sexual-misconduct-weinstein.html",
"items": [
{
"itemType": "newspaperArticle",
"title": "After Weinstein: 71 Men Accused of Sexual Misconduct and Their Fall From Power",
"creators": [
{
"firstName": "Sarah",
"lastName": "Almukhtar",
"creatorType": "author"
},
{
"firstName": "Michael",
"lastName": "Gold",
"creatorType": "author"
},
{
"firstName": "Larry",
"lastName": "Buchanan",
"creatorType": "author"
}
],
"date": "2017-11-10",
"ISSN": "0362-4331",
"abstractNote": "A list of men who have resigned, been fired or otherwise lost power since the Harvey Weinstein scandal broke.",
"language": "en-US",
"libraryCatalog": "NYTimes.com",
"publicationTitle": "The New York Times",
"section": "U.S.",
"shortTitle": "After Weinstein",
"url": "https://www.nytimes.com/interactive/2017/11/10/us/men-accused-sexual-misconduct-weinstein.html, https://www.nytimes.com/interactive/2017/11/10/us/men-accused-sexual-misconduct-weinstein.html",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "#MeToo Movement"
},
{
"tag": "Besh, John (1968- )"
},
{
"tag": "C K, Louis"
},
{
"tag": "Conyers, John Jr"
},
{
"tag": "Cornish, Tony"
},
{
"tag": "Franken, Al"
},
{
"tag": "Franks, Trent"
},
{
"tag": "Huff, Justin"
},
{
"tag": "Keillor, Garrison"
},
{
"tag": "Lauer, Matt"
},
{
"tag": "Levine, James"
},
{
"tag": "Lizza, Ryan"
},
{
"tag": "Masterson, Danny (1976- )"
},
{
"tag": "Price, Roy (1967- )"
},
{
"tag": "Rose, Charlie"
},
{
"tag": "Sex Crimes"
},
{
"tag": "Sexual Harassment"
},
{
"tag": "Simmons, Russell"
},
{
"tag": "Spacey, Kevin"
},
{
"tag": "Stein, Lorin"
},
{
"tag": "Weinstein, Harvey"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "web",
"url": "https://www.nytimes.com/2017/05/22/world/europe/greece-athens-anarchy-austerity.html",
"items": [
{
"itemType": "newspaperArticle",
"title": "Anarchists Fill Services Void Left by Faltering Greek Governance",
"creators": [
{
"firstName": "Niki",
"lastName": "Kitsantonis",
"creatorType": "author"
}
],
"date": "2017-05-22",
"ISSN": "0362-4331",
"abstractNote": "Anarchist groups are taking matters into their own hands after years of austerity policies and a refugee crisis have undermined the Greek government.",
"language": "en-US",
"libraryCatalog": "NYTimes.com",
"publicationTitle": "The New York Times",
"section": "World",
"url": "https://www.nytimes.com/2017/05/22/world/europe/greece-athens-anarchy-austerity.html",
"attachments": [
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Coalition of the Radical Left (Greece)"
},
{
"tag": "Demonstrations, Protests and Riots"
},
{
"tag": "Greece"
},
{
"tag": "Politics and Government"
},
{
"tag": "Terrorism"
},
{
"tag": "Vandalism"
},
{
"tag": "vis-photo"
}
],
"notes": [],
"seeAlso": []
}
]
}
]
/** END TEST CASES **/