"""
Harvests University of Pennsylvania metadata for the SHARE NS

More information: https://github.com/CenterForOpenScience/SHARE/blob/master/providers/edu.upenn.md

Example API call: http://repository.upenn.edu/do/oai/?verb=ListRecords&metadataPrefix=oai_dc&from=2014-09-26
"""


from __future__ import unicode_literals

from scrapi.base import OAIHarvester


upennsylvania = OAIHarvester(
    name='upennsylvania',
    timeout=30,
    base_url='http://repository.upenn.edu/do/oai/'
)

consume = upennsylvania.harvest
normalize = upennsylvania.normalize

@@ -415,24 +415,8 @@
 a',%0A
-    timeout=30,%0A
     
@@ -461,16 +461,139 @@
 do/oai/'
+,%0A    property_list=%5B'type', 'publisher', 'format', 'date',%0A                   'identifier', 'setSpec', 'source', 'rights'%5D
 %0A)%0A%0Acons

add property list to upenn harvester