aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-07-13 16:39:56 -0400
committerB. Stack <bgstack15@gmail.com>2024-07-13 16:39:56 -0400
commitf813486db8c60d9659c99896c8ab49039d489256 (patch)
treefa893f2822bb8c9cd54765024a022eb246d3b82f /libraries
parentall libraries: collect card expiry date (diff)
downloadlibrary-info-f813486db8c60d9659c99896c8ab49039d489256.tar.gz
library-info-f813486db8c60d9659c99896c8ab49039d489256.tar.bz2
library-info-f813486db8c60d9659c99896c8ab49039d489256.zip
output the card expiration dates
Diffstat (limited to 'libraries')
-rw-r--r--libraries/polaris.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/polaris.py b/libraries/polaris.py
index e945fcc..8ff25d8 100644
--- a/libraries/polaris.py
+++ b/libraries/polaris.py
@@ -81,6 +81,7 @@ class Library(BaseLibrary):
dates = [i.text.replace("(as of ","").replace(")","").replace("(","") for i in item.find_all("span",class_="patron-account__holds-date")]
formats = [i["title"] for i in item.find_all("img") if "aria-label" not in i.attrs]
img_b64, img_type = self.get_image(images_hrefs[0])
+ # it is a happy accident that "date placed" for a ready reservation will indicate "until 7/17/2024". No work is required to capture this separately.
obj = {
"patron": self.alias,
"position": values_dict["Hold Request Position"],
bgstack15