Skip to content

Commit

Permalink
#42 url to human readable resources for ULAN scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
e-dorigatti committed Jun 13, 2016
1 parent 5f017aa commit 70a5fae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions strephit/web_sources_corpus/spiders/vocab_getty_edu.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ def row_to_item(self, row):
cleaned.append(field)

url, name, bio1, bio2, nationality, birth_year, birth_place, death_year, death_place, gender = cleaned
url = url.replace('http://vocab.getty.edu/ulan/', 'http://vocab.getty.edu/page/ulan/')
gender = {
'http://vocab.getty.edu/aat/300189557': 'female',
'http://vocab.getty.edu/aat/300189559': 'male',
Expand Down

0 comments on commit 70a5fae

Please sign in to comment.