Skip to content

Commit

Permalink
Add ocean.io scraper (#113)
Browse files Browse the repository at this point in the history
* feat: add ocean.io scraper

* feat: add ocean.io scraper
  • Loading branch information
ricardofelgueiras authored Jul 23, 2024
1 parent b8e5aa1 commit 05864e0
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/scrappers/ocean.io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
url: 'https://www.ocean.io/lookalike-search*'
header: Search results
listElementsQuery: 'tr:nth-child(n+3)'
elementParser:
- title: Score
query: 'td:nth-child(1)'
type: text

- title: Company
query: 'td:nth-child(2)'
type: text

- title: Size
query: 'td:nth-child(3)'
type: text

- title: Country
query: 'td:nth-child(4)'
type: text

- title: Domain
query: 'td> div > div:nth-child(3) > div > a:nth-child(1)'
type: link

- title: Link 1
query: 'td> div > div:nth-child(3) > div > a:nth-child(2)'
type: link

- title: Link 2
query: 'td> div > div:nth-child(3) > div > a:nth-child(3)'
type: link

- title: Link 3
query: 'td> div > div:nth-child(3) > div > a:nth-child(4)'
type: link

0 comments on commit 05864e0

Please sign in to comment.