kindle manager
This commit is contained in:
31
README.md
31
README.md
@@ -131,6 +131,8 @@ vi re:
|
|||||||
|
|
||||||
### dict data structure
|
### dict data structure
|
||||||
```
|
```
|
||||||
|
book data structure
|
||||||
|
|
||||||
book =
|
book =
|
||||||
{
|
{
|
||||||
"bookname_xxx": {
|
"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文本 ###
|
### Markdown文本 ###
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user