Spaces:
Runtime error
Runtime error
Upload selectors.yml
Browse files- selectors.yml +55 -0
selectors.yml
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
product_title:
|
2 |
+
css: 'h1 a[data-hook="product-link"]'
|
3 |
+
xpath: null
|
4 |
+
type: Text
|
5 |
+
reviews:
|
6 |
+
css: 'div.review div.a-section.celwidget'
|
7 |
+
xpath: null
|
8 |
+
multiple: true
|
9 |
+
type: Text
|
10 |
+
children:
|
11 |
+
title:
|
12 |
+
css: a.review-title
|
13 |
+
xpath: null
|
14 |
+
type: Text
|
15 |
+
content:
|
16 |
+
css: 'div.a-row.review-data span.review-text'
|
17 |
+
xpath: null
|
18 |
+
type: Text
|
19 |
+
date:
|
20 |
+
css: span.a-size-base.a-color-secondary
|
21 |
+
xpath: null
|
22 |
+
type: Text
|
23 |
+
author:
|
24 |
+
css: span.a-profile-name
|
25 |
+
xpath: null
|
26 |
+
type: Text
|
27 |
+
rating:
|
28 |
+
css: 'div.a-row:nth-of-type(2) > a.a-link-normal:nth-of-type(1)'
|
29 |
+
xpath: null
|
30 |
+
type: Attribute
|
31 |
+
attribute: title
|
32 |
+
verified:
|
33 |
+
css: 'div.a-row.a-spacing-mini span.a-declarative a.a-link-normal'
|
34 |
+
xpath: null
|
35 |
+
type: Text
|
36 |
+
helped:
|
37 |
+
css: 'span.cr-vote span.a-size-base'
|
38 |
+
xpath: null
|
39 |
+
type: Text
|
40 |
+
next_page:
|
41 |
+
css: 'li.a-last a'
|
42 |
+
xpath: null
|
43 |
+
type: Link
|
44 |
+
product_link:
|
45 |
+
css: 'h1.a-size-large a.a-link-normal'
|
46 |
+
xpath: null
|
47 |
+
type: Link
|
48 |
+
total_reviews:
|
49 |
+
css: 'div.a-section.a-spacing-medium div.a-row'
|
50 |
+
xpath: null
|
51 |
+
type: Text
|
52 |
+
amazon_given_rating:
|
53 |
+
css: 'div.a-row div.a-fixed-left-grid-col.a-col-left'
|
54 |
+
xpath: null
|
55 |
+
type: Text
|