Skip to content

Commit

Permalink
Add TripAdvisor snippet parser
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker committed Nov 1, 2023
1 parent 3cf086a commit 3367559
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions data/selected-services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26608,8 +26608,17 @@
parameter: q
page_parsers: []
offset_parsers: []
interpreted_query_parsers: []
results_parsers: []
interpreted_query_parsers:
- url_pattern: ^https?://[^/]+/Search\?
type: html_selector
query_selector: div.SEARCH_LHN form#SEARCH_LHN_form input#mainSearch
results_parsers:
- url_pattern: ^https?://[^/]+/Search\?
type: html_selector
results_selector: div#SEARCH_RESULTS div.searchResult
url_selector: div.srHead a
title_selector: div.srHead
snippet_selector: div.srSnippet
focused_url_prefixes:
- /Search?
- /SearchForums?

0 comments on commit 3367559

Please sign in to comment.