Tracking subject tags

This commit is contained in:
Raelon Masters
2020-06-13 09:13:50 -04:00
parent 7d9c80f694
commit 68d86eaa3f

View File

@@ -120,6 +120,7 @@ class Catalogue:
publisher = soup.find("dc:identifier") publisher = soup.find("dc:identifier")
date = soup.find("dc:date") date = soup.find("dc:date")
rights = soup.find("dc:rights") rights = soup.find("dc:rights")
tags = soup.find_all("dc:subject")
breakpoint() breakpoint()
book_details = [ book_details = [
title, title,
@@ -131,6 +132,7 @@ class Catalogue:
publisher, publisher,
date, date,
rights, rights,
tags
] ]
return book_details return book_details