From 8fea847b462c4960b17841d88eb36700d4370632 Mon Sep 17 00:00:00 2001 From: Victor Fernandes Date: Fri, 16 Feb 2024 20:23:21 +0000 Subject: [PATCH 1/3] feat: add google.com search --- src/scrappers/google.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/scrappers/google.yml diff --git a/src/scrappers/google.yml b/src/scrappers/google.yml new file mode 100644 index 00000000..8ae9034f --- /dev/null +++ b/src/scrappers/google.yml @@ -0,0 +1,14 @@ +url: https://www.google.*/search?* +listElementsQuery: '[data-snc]' +elementParser: + - title: Title + query: h3 + type: text + + - title: Description + query: 'div[style="-webkit-line-clamp:2"]' + type: text + + - title: URL + query: a + type: clean-url From 6b8d9d966df6dcc6bf94fe123d60f63021bc8055 Mon Sep 17 00:00:00 2001 From: Victor Fernandes Date: Fri, 16 Feb 2024 20:47:02 +0000 Subject: [PATCH 2/3] feat: add supercoach --- src/scrappers/supercoach.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/scrappers/supercoach.yml diff --git a/src/scrappers/supercoach.yml b/src/scrappers/supercoach.yml new file mode 100644 index 00000000..442b0139 --- /dev/null +++ b/src/scrappers/supercoach.yml @@ -0,0 +1,10 @@ +url: https://supercoach.dailytelegraph.com.au/* +listElementsQuery: '[class*="vm-NewsArticlesTabsSectionComponent-itemContainer"]' +elementParser: + - title: Title + query: .vm-NewsArticlesTabsSectionComponent-title + type: text + + - title: Description + query: .vm-NewsArticlesTabsSectionComponent-desc + type: text From 88798f6bb8fce954b1fa925f13c7f2f786e92cc3 Mon Sep 17 00:00:00 2001 From: Victor Fernandes Date: Fri, 16 Feb 2024 22:21:57 +0000 Subject: [PATCH 3/3] feat: add tilbudsportalen.dk --- src/scrappers/tilbudsportalen.yml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/scrappers/tilbudsportalen.yml diff --git a/src/scrappers/tilbudsportalen.yml b/src/scrappers/tilbudsportalen.yml new file mode 100644 index 00000000..a9f7b233 --- /dev/null +++ b/src/scrappers/tilbudsportalen.yml @@ -0,0 +1,33 @@ +url: https://tilbudsportalen.dk/* +listElementsQuery: .linkUdenUnderstreg +elementParser: + - title: Name + query: h3 + type: text + + - title: Address + query: .row:nth-child(2) .col-sm:nth-child(1) .panelTekst + type: text + + - title: Contact person + query: .row:nth-child(2) .col-sm:nth-child(2) .panelTekst + type: text + + - title: Supervisory status + query: .row:nth-child(2) .col-sm:nth-child(3) .panelTekst + type: text + + - title: Tariffs + query: .row:nth-child(2) .col-sm:nth-child(4) .panelTekst + type: text + + - title: Offer types + query: .row:nth-child(3) .col-sm:nth-child(1) .panelTekst + type: text + + - title: Places on the offer type + query: .row:nth-child(3) .col-sm:nth-child(2) .panelTekst + type: text + + - title: URL + type: link