-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathselectors.yml
58 lines (58 loc) · 1.53 KB
/
selectors.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
product_title:
css: 'h1 a[data-hook="product-link"]'
type: Text
reviews:
css: 'div.review div.a-section.celwidget'
multiple: true
type: Text
children:
title:
css: a.review-title
type: Text
content:
css: 'div.a-row.review-data span.review-text'
type: Text
date:
css: span.a-size-base.a-color-secondary
type: Text
images:
css: img.review-image-tile
multiple: true
type: Attribute
attribute: src
author:
css: span.a-profile-name
type: Text
rating:
css: 'div.a-row:nth-of-type(2) > a.a-link-normal:nth-of-type(1)'
type: Attribute
attribute: title
found_helpful:
css: 'span[data-hook="review-voting-widget"] span.a-size-base'
type: Text
variant:
css: a.a-size-mini
type: Text
verified_purchase:
css: 'span[data-hook="avp-badge"]'
type: Text
next_page:
css: 'li.a-last a'
type: Link
average_rating:
css: 'span[data-hook="rating-out-of-text"]'
type: Text
number_of_reviews:
css: 'div[data-hook="total-review-count"] span.a-size-base'
type: Text
histogram:
css: tr.a-histogram-row
multiple: true
type: Text
children:
key:
css: 'td.aok-nowrap a.a-link-normal'
type: Text
value:
css: 'td.a-text-right a.a-link-normal'
type: Text