From 5870d6b64670bdbe5636e5d00cfc3512b346351a Mon Sep 17 00:00:00 2001 From: Ricardo Felgueiras Date: Tue, 27 Feb 2024 16:45:16 +0000 Subject: [PATCH] feat: add chaperone reviews list scrapper --- src/scrappers/chaperone-review-list.yml | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/scrappers/chaperone-review-list.yml diff --git a/src/scrappers/chaperone-review-list.yml b/src/scrappers/chaperone-review-list.yml new file mode 100644 index 00000000..374b00b5 --- /dev/null +++ b/src/scrappers/chaperone-review-list.yml @@ -0,0 +1,31 @@ +url: 'https://chaperone.online/wp-admin/admin.php?page=review-list' +header: Review list +listElementsQuery: 'tr:has(td)' # The has(td) css selector allows to remove the empty table rows +elementParser: + - title: Ref no + query: td:nth-child(1) + type: text + + - title: Student Name + query: td:nth-child(2) + type: text + + - title: Consultant name + query: td:nth-child(3) + type: text + + - title: Rating + query: td:nth-child(4) + type: text + + - title: Comment + query: td:nth-child(5) + type: text + + - title: Email + query: td:nth-child(6) + type: text + + - title: Created + query: td:nth-child(7) + type: text \ No newline at end of file