aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-09-26 00:05:01 +0100
committerArun Isaac2023-09-26 00:05:01 +0100
commit8ad1f6e4584b3e668bee10c2f5b383b457688d58 (patch)
tree12e3cd426c666f6ce7e365826319bc72b7f61a73
parent4b0ce31c5f139d371af1b063f83cf980e06fabaf (diff)
downloadrent-in-london-8ad1f6e4584b3e668bee10c2f5b383b457688d58.tar.gz
rent-in-london-8ad1f6e4584b3e668bee10c2f5b383b457688d58.tar.lz
rent-in-london-8ad1f6e4584b3e668bee10c2f5b383b457688d58.zip
Adapt maximum tenants extraction to latest HTML.
The HTML specifying the maximum tenants has changed slightly. Adapt. * rent.scm (house-maximum-tenants): Adapt to latest HTML.
-rw-r--r--rent.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/rent.scm b/rent.scm
index 7258c5e..7730c9f 100644
--- a/rent.scm
+++ b/rent.scm
@@ -263,7 +263,8 @@
(house-page-sxml house)
`((td *preorder* . ,(lambda (root . children)
(sxml-match (cons root children)
- ((td (i (@ (class "fa fa-users"))) " " (strong ,maximum-tenants))
+ ((td (span (i (@ (class "fa fa-users"))) " Max Tenants:")
+ " " (strong ,maximum-tenants))
(cons 'result (string->number maximum-tenants)))
(,_ #f))))
(*TOP* . ,handle-top)