summaryrefslogtreecommitdiff
path: root/scraper/s2-pdf-first-pages.py
diff options
context:
space:
mode:
authoradamhrv <adam@ahprojects.com>2019-02-09 14:02:22 +0100
committeradamhrv <adam@ahprojects.com>2019-02-09 14:02:22 +0100
commit31305e9d9de9b7624cb9b2dfb462a3e68c120798 (patch)
tree51b37499dc21bb600639d9a3e6050a5d01e2dbd1 /scraper/s2-pdf-first-pages.py
parentedc5e1542071fdc1a18a2bb1af2c2b5bed8be02a (diff)
parent865be13c0d7e22db4f23f1d4dddc381e7392fe55 (diff)
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'scraper/s2-pdf-first-pages.py')
-rw-r--r--scraper/s2-pdf-first-pages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scraper/s2-pdf-first-pages.py b/scraper/s2-pdf-first-pages.py
index 0a6b20bd..6f1d81e3 100644
--- a/scraper/s2-pdf-first-pages.py
+++ b/scraper/s2-pdf-first-pages.py
@@ -30,7 +30,7 @@ def report_first_pages():
write_report('reports/first_pages.html', title='First pages', keys=None, rows=rows)
write_report('reports/institutions.html', title='Institutions', keys=None, rows=sorted(institutions, key=lambda x: x[1]))
write_report('reports/institutions_missing.html', title='Institutions', keys=None, rows=no_institutions)
- write_csv('reports/institution_names.csv', keys=None, rows=[(name,) for name in deduped_institutions])
+ write_csv('reports/institution_names_extracted.csv', keys=None, rows=[(name,) for name in deduped_institutions])
print("{} deduped institutions".format(len(deduped_institutions)))
def dedupe(a):