Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/scrappers/google.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions src/scrappers/supercoach.yml
Original file line number Diff line number Diff line change
@@ -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
33 changes: 33 additions & 0 deletions src/scrappers/tilbudsportalen.yml
Original file line number Diff line number Diff line change
@@ -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