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 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 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