Adding 2 options to prep_ebook_records.py script
authorArt Rhyno <art632000@yahoo.ca>
Thu, 4 Oct 2012 18:32:46 +0000 (14:32 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 7 May 2013 18:58:04 +0000 (14:58 -0400)
commite60ce16e1fc7cebdb8da57e81d659e5990ad5c07
tree9956136ae9577d3b822d72a612d1b4e767f0708b
parentdb06a23ff8325e5f62129498563c07c5bb0f649e
Adding 2 options to prep_ebook_records.py script

This supports 2 additional options to Dan Scott's ebook script:

    -t / --tcn : The name of the file to route TCN duplicates to.

The tcn search takes the 001 and does an OpenSRF open-ils.search.biblio.tcn
call.

   -u / --url : The name of the file to route URL duplicates to.

The url search is based on the 856u field and is done with the OpenSRF
open-ils.search.biblio.multiclass.query call.

Signed-off-by: Art Rhyno <art632000@yahoo.ca>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/ebooks/prep_ebook_records.py