summaryrefslogtreecommitdiff
path: root/scraper/s2-geocode.py
diff options
context:
space:
mode:
Diffstat (limited to 'scraper/s2-geocode.py')
-rw-r--r--scraper/s2-geocode.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scraper/s2-geocode.py b/scraper/s2-geocode.py
index 25eb6f8a..989c17bf 100644
--- a/scraper/s2-geocode.py
+++ b/scraper/s2-geocode.py
@@ -40,10 +40,10 @@ def s2_geocode(fn):
print("found: {}".format(name))
cname = name
for word in name.split(', '):
- if "university" in word.lower():
+ if "university" in word.lower() and 'california' not in word.lower():
cname = word
worksheet.append_row([
- cname, name, location.address, location.latitude, location.longitude, 'edu'
+ cname, name, location.address, location.latitude, location.longitude, 'edu', '',
])
valid.append([
name,
@@ -77,3 +77,4 @@ def remove_department_name(name):
if __name__ == '__main__':
s2_geocode()
+