kindle manager

This commit is contained in:
gavin
2020-06-16 14:13:35 +08:00
parent 049e7c8772
commit cfa83ba880

View File

@@ -131,6 +131,8 @@ vi re:
### dict data structure
```
book data structure
book =
{
"bookname_xxx": {
@@ -168,6 +170,35 @@ book =
}
```
```
words datastructure
words_data = [bookinfo, words, lookups]
bookinfo = { 'book_key': {
'bookname':'bookname_xxx',
'author':'author_xxx'},}
words = { 'word_id': {
'word':'xxx',
'category':0},
}
lookups = [['id','word_key','book_key','pos','usage','timestamp'],
['id','word_key','book_key','pos','usage','timestamp'],]
```
```
book information grabed from douban
{
"25853071": { # sid
"link":"https://....xxxxx"
"bookname": "庆余年",
"img": "https://img1.doubanio.com/view/photo/s_ratio_poster/public/p2575362797.jpg",
"rate": "8.0",
"author": "猫腻"
},...}
```
### Markdown文本 ###
```