X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/87c18bbe4e7fafbc89442c15e49d4099182c7567..7de20e55458c4f2bc4e0322b64022d3b45656f5d:/lib/librarian/dcparser.py?ds=sidebyside diff --git a/lib/librarian/dcparser.py b/lib/librarian/dcparser.py index a4106863d..557509c95 100644 --- a/lib/librarian/dcparser.py +++ b/lib/librarian/dcparser.py @@ -117,6 +117,8 @@ class BookInfo(object): DC('source.URL') : ('source_url', str_to_unicode), DC('identifier.url') : ('url', str_to_unicode), DC('relation.hasPart') : ('parts', str_to_unicode_list), + DC('rights.license') : ('license', str_to_unicode), + DC('rights') : ('license_description', str_to_unicode), } @classmethod