'''
Harvester for the DSpace on LibLiveCD for the SHARE project

Example API call: http://bbytezarsivi.hacettepe.edu.tr/oai/request?verb=ListRecords&metadataPrefix=oai_dc
'''
from __future__ import unicode_literals

from scrapi.base import OAIHarvester


class Hacettepe_u_dimHarvester(OAIHarvester):
    short_name = 'hacettepe_U_DIM'
    long_name = 'DSpace on LibLiveCD'
    url = 'http://bbytezarsivi.hacettepe.edu.tr/oai/request'

    base_url = 'http://bbytezarsivi.hacettepe.edu.tr/oai/request'
    property_list = ['date', 'identifier', 'type', 'rights']
    timezone_granularity = True

'''
Harvester for the DSpace on LibLiveCD for the SHARE project

Example API call: http://bbytezarsivi.hacettepe.edu.tr/oai/request?verb=ListRecords&metadataPrefix=oai_dc
'''
from __future__ import unicode_literals

from scrapi.base import OAIHarvester


class HacettepeHarvester(OAIHarvester):
    short_name = 'hacettepe'
    long_name = 'DSpace on LibLiveCD'
    url = 'http://bbytezarsivi.hacettepe.edu.tr/oai/request'

    base_url = 'http://bbytezarsivi.hacettepe.edu.tr/oai/request'
    property_list = ['date', 'identifier', 'type', 'rights']
    timezone_granularity = True

Change shortname and class name
Change shortname and class name

  '''
  Harvester for the DSpace on LibLiveCD for the SHARE project
  
  Example API call: http://bbytezarsivi.hacettepe.edu.tr/oai/request?verb=ListRecords&metadataPrefix=oai_dc
  '''
  from __future__ import unicode_literals
  
  from scrapi.base import OAIHarvester
  
  
- class Hacettepe_u_dimHarvester(OAIHarvester):
+ class HacettepeHarvester(OAIHarvester):
-     short_name = 'hacettepe_U_DIM'
+     short_name = 'hacettepe'
      long_name = 'DSpace on LibLiveCD'
      url = 'http://bbytezarsivi.hacettepe.edu.tr/oai/request'
  
      base_url = 'http://bbytezarsivi.hacettepe.edu.tr/oai/request'
      property_list = ['date', 'identifier', 'type', 'rights']
      timezone_granularity = True
  
Change shortname and class name
## Code Before:
'''
Harvester for the DSpace on LibLiveCD for the SHARE project

Example API call: http://bbytezarsivi.hacettepe.edu.tr/oai/request?verb=ListRecords&metadataPrefix=oai_dc
'''
from __future__ import unicode_literals

from scrapi.base import OAIHarvester


class Hacettepe_u_dimHarvester(OAIHarvester):
    short_name = 'hacettepe_U_DIM'
    long_name = 'DSpace on LibLiveCD'
    url = 'http://bbytezarsivi.hacettepe.edu.tr/oai/request'

    base_url = 'http://bbytezarsivi.hacettepe.edu.tr/oai/request'
    property_list = ['date', 'identifier', 'type', 'rights']
    timezone_granularity = True

## Instruction:
Change shortname and class name
## Code After:
'''
Harvester for the DSpace on LibLiveCD for the SHARE project

Example API call: http://bbytezarsivi.hacettepe.edu.tr/oai/request?verb=ListRecords&metadataPrefix=oai_dc
'''
from __future__ import unicode_literals

from scrapi.base import OAIHarvester


class HacettepeHarvester(OAIHarvester):
    short_name = 'hacettepe'
    long_name = 'DSpace on LibLiveCD'
    url = 'http://bbytezarsivi.hacettepe.edu.tr/oai/request'

    base_url = 'http://bbytezarsivi.hacettepe.edu.tr/oai/request'
    property_list = ['date', 'identifier', 'type', 'rights']
    timezone_granularity = True
