-
Notifications
You must be signed in to change notification settings - Fork 10
/
goodreads-clipper.json
73 lines (73 loc) · 1.45 KB
/
goodreads-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
{
"schemaVersion": "0.1.0",
"name": "Goodreads",
"behavior": "create",
"noteNameFormat": "{{selector:.BookPageTitleSection__title h1}}",
"path": "References",
"noteContentFormat": "{{selector:.BookPageMetadataSection__description}}",
"properties": [
{
"name": "title",
"value": "{{schema:name}}",
"type": "text"
},
{
"name": "author",
"value": "{{schema:author[*].name|wikilink|join}}",
"type": "multitext"
},
{
"name": "genre",
"value": "{{selector:.BookPageMetadataSection__genres .BookPageMetadataSection__genreButton|wikilink}}",
"type": "multitext"
},
{
"name": "length",
"value": "{{schema:numberOfPages}}",
"type": "number"
},
{
"name": "year",
"value": "{{selector:p[data-testid='publicationInfo']|split:\\\"First published \\\"|slice:1|date:\\\"YYYY\\\"}}",
"type": "number"
},
{
"name": "scoreGr",
"value": "{{schema:aggregateRating.ratingValue}}",
"type": "number"
},
{
"name": "rating",
"value": "",
"type": "number"
},
{
"name": "cover",
"value": "{{schema:image}}",
"type": "text"
},
{
"name": "isbn",
"value": "{{schema:isbn}}",
"type": "text"
},
{
"name": "language",
"value": "{{schema:inLanguage}}",
"type": "text"
},
{
"name": "created",
"value": "{{date}}",
"type": "date"
},
{
"name": "tags",
"value": "books, to-read",
"type": "multitext"
}
],
"triggers": [
"https://www.goodreads.com/book/"
]
}