-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Victor Fernandes
committed
Jan 25, 2024
1 parent
6043e2f
commit 00e49d8
Showing
9 changed files
with
159 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
listElementsQuery: 'ul > [id*="item"]' | ||
elementParser: | ||
- title: Image | ||
query: img | ||
type: image | ||
|
||
- title: Name | ||
query: .s-item__title | ||
type: text | ||
|
||
- title: Price | ||
query: .s-item__price | ||
type: text | ||
|
||
- title: State | ||
query: .s-item__subtitle | ||
type: text | ||
|
||
- title: From | ||
query: .s-item__itemLocation | ||
type: text | ||
|
||
- title: Seller info | ||
query: .s-item__seller-info-text | ||
type: text | ||
|
||
- title: Product link | ||
query: .s-item__info > a | ||
type: clean-url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
header: Netflix browse results | ||
listElementsQuery: .title-card | ||
elementParser: | ||
- title: Cover | ||
query: img | ||
type: image | ||
|
||
- title: Title | ||
query: .fallback-text | ||
type: text | ||
|
||
- title: Link | ||
query: a | ||
type: clean-url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
parseTables: | ||
tables: | ||
- rows: '#search-results-data-table-left .data-table__row' | ||
cols: .data-table__cell | ||
|
||
- rows: '#search-results-data-table-right .data-table__row, #search-results-data-table-right .data-table__headers' | ||
cols: .data-table__cell | ||
|
||
mergeTablesBy: column |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
parseTables: | ||
tables: | ||
- rows: '[class*="(tbhg)"]>[class*="(tbr)"]' | ||
cols: div > span | ||
|
||
- rows: '[class*="(tbr)"]' | ||
cols: '[data-test="fin-col"], [title]' | ||
|
||
mergeTablesBy: row |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
listElementsQuery: .result | ||
elementParser: | ||
- title: Logo | ||
query: img | ||
type: image | ||
|
||
- title: Name | ||
query: .business-name | ||
type: text | ||
|
||
- title: Phone number | ||
query: .phone | ||
type: text | ||
|
||
- title: Address | ||
query: .adr | ||
type: text | ||
|
||
- title: Categories | ||
query: .categories | ||
type: text | ||
|
||
- title: Website | ||
query: .track-visit-website | ||
type: link |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
listElementsQuery: '[data-testid="serp-ia-card"]' | ||
elementParser: | ||
- title: Image | ||
query: img | ||
type: image | ||
|
||
- title: Name | ||
query: '[class*="businessName_"]' | ||
type: text | ||
|
||
- title: Rating | ||
query: 'span[data-font-weight="semibold"]' | ||
type: text | ||
|
||
- title: Categories | ||
query: '[class*="priceCategory"]' | ||
type: text | ||
|
||
- title: Yelp link | ||
query: '[class*="businessName_"] a' | ||
type: clean-url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
listElementsQuery: '[data-test="property-card"]' | ||
elementParser: | ||
- title: Image | ||
query: img | ||
type: image | ||
|
||
- title: Address | ||
query: '[data-test="property-card-addr"]' | ||
type: text | ||
|
||
- title: Price | ||
query: '[data-test="property-card-price"]' | ||
type: text | ||
|
||
- title: Bedrooms | ||
query: 'ul[class*="StyledPropertyCardHomeDetailsList"] li:nth-child(1)' | ||
type: text | ||
|
||
- title: Bathrooms | ||
query: 'ul[class*="StyledPropertyCardHomeDetailsList"] li:nth-child(2)' | ||
type: text | ||
|
||
- title: Area | ||
query: 'ul[class*="StyledPropertyCardHomeDetailsList"] li:nth-child(3)' | ||
type: text | ||
|
||
- title: Zillow link | ||
query: '[data-test="property-card-link"]' | ||
type: link |