-
Notifications
You must be signed in to change notification settings - Fork 0
/
hotelbeds.yml
41 lines (41 loc) · 1.19 KB
/
hotelbeds.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
hotels:
css: li.bloque
multiple: true
type: Text
children:
name:
css: hotel_title.h3
type: Text
location:
css: div.hotel_zone
type: Text
price:
#css: span.loyalty-display-price
# and span[contains(@data-stid,'price-lockup-text')]/following-sibling::Current
#xpath: //span[contains(@class,'loyalty-display-price')] and (text()=)/following-sibling::Current
xpath: //td[contains(@SYS_c5,'text')]
multiple: true
type: Text
price_for:
css: span.roomDesc
type: Text
room_type:
css: strong
type: Text
beds:
css: div.c-beds-configuration
type: Text
rating:
#css: img.tripAdvisor-viewer
xpath: //img[starts-with(@title,'Based on')]
type: Attribute
attribute: src
rating_title:
css: span.pwa-theme--grey-700
type: Text
number_of_ratings:
css: span.hotel_tripadvisor_options
type: Text
url:
css: a.hotelname-1
type: Link