-
Notifications
You must be signed in to change notification settings - Fork 10
/
google-maps-clipper.json
78 lines (78 loc) · 1.51 KB
/
google-maps-clipper.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"schemaVersion": "0.1.0",
"name": "Google Maps",
"behavior": "create",
"noteNameFormat": "{{selector:div[role=\"main\"]:aria-label}}",
"path": "References",
"noteContentFormat": "",
"properties": [
{
"name": "category",
"value": "[[Places]]",
"type": "multitext"
},
{
"name": "type",
"value": "",
"type": "multitext"
},
{
"name": "source",
"value": "{{url}}",
"type": "text"
},
{
"name": "loc",
"value": "",
"type": "multitext"
},
{
"name": "location",
"value": "{{url|split:\\\"/@\\\"|slice:1|split:\\\",\\\"|slice:0,2}}",
"type": "multitext"
},
{
"name": "address",
"value": "{{selector:button[aria-label^=\\\"Address:\\\"]:aria-label|split:\\\"Address: \\\"|slice:1}}",
"type": "text"
},
{
"name": "url",
"value": "{{selector:div[aria-label^=\\\"Information for\\\"] a[href*=\\\"http\\\"]:href|slice:0,1}}",
"type": "text"
},
{
"name": "rating",
"value": "",
"type": "number"
},
{
"name": "scoreGoogle",
"value": "{{selector:div[jsaction*=\\\"moreReviews\\\"] .fontDisplayLarge}}",
"type": "number"
},
{
"name": "description",
"value": "{{selector:div[aria-label^=\\\"About \\\"] button .PYvSYb[jslog]}}",
"type": "text"
},
{
"name": "created",
"value": "{{date}}",
"type": "date"
},
{
"name": "last",
"value": "",
"type": "date"
},
{
"name": "tags",
"value": "places, to-visit",
"type": "multitext"
}
],
"triggers": [
"https://www.google.com/maps/place/"
]
}