Skip to content

Simple command line oai-pmh harvester written in Python.

License

Notifications You must be signed in to change notification settings

dpla/pyoaiharvester

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyoaiharvester

Simple command line oai-pmh harvester written in Python.

Usage

Harvest a repository to a file named untsw.dc.xml

python pyoaiharvest.py -l http://digital.library.unt.edu/explore/collections/UNTSW/oai/ -o untsw.dc.xml

Harvest the untl metadata format to a file named untsw.untl.xml

python pyoaiharvest.py -l http://digital.library.unt.edu/explore/collections/UNTSW/oai/ -o untsw.untl.xml -m untl

Options

-f
--from
     harvest records from this date, format: yyyy-mm-dd

-l
--link
     URL of repository

-m
--mdprefix
     use the specified metadata format, default="oai_dc"

-o
--filename
     write repository to file

-s
--setName
     harvest the specified set

-u
--until
     harvest records until this date, format: yyyy-mm-dd

About

Simple command line oai-pmh harvester written in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%