pulibrary / pdc-osti

2 stars 0 forks source link

Retrieve PDC Discovery JSON metadata #35

Closed astrochun closed 1 year ago

astrochun commented 1 year ago

Closes #27

This here enables metadata retrieval from both DataSpace and PDC. By default, it retrieves from DataSpace; however, once this PR is complete, it will allow retrieval from PDC.

From the command line, retrieval from dspace/pdc can be done as follows:

scraper -s dspace
scraper -s pdc

Note that without specifying the source, scraper will prompt the user to select with the default being dspace (for now).

This is configured to handle both so it's easy to compare/contrast between PDC and DataSpace. Ultimately the latter will be deprecated.