Skip to content

Commit

Permalink
feat: add capterra scraper (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardofelgueiras authored Jul 24, 2024
1 parent f056d3e commit ea0aa74
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/scrappers/capterra.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
url: 'https://www.capterra.com/*'
header: Capterra reviews
listElementsQuery: '[data-test-id="review-card"]'
elementParser:
- title: Title
query: '[data-testid="review-content"] > div:nth-child(1)'
type: text

- title: Rating
query: '.star-rating-label'
type: text

- title: Comment
query: '[data-testid="overall-content"]'
type: text

- title: Advantages
query: '[data-testid="pros-content"]'
type: text

- title: Disadvantages
query: '[data-testid="cons-content"]'
type: text

0 comments on commit ea0aa74

Please sign in to comment.