@cloud411716/fancy-webnovel 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15,23 +15,24 @@
|
|
|
15
15
|
|
|
16
16
|
const MOBILE_BASE = 'https://m.qidian.com';
|
|
17
17
|
|
|
18
|
+
// RANK_PATHS keys match rank.type (passed by scraper as rankId)
|
|
18
19
|
const RANK_PATHS = {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
'5173_2': '/rank/1_5173_2',
|
|
21
|
+
'5173_7': '/rank/1_5173_7',
|
|
22
|
+
'5173_14': '/rank/1_5173_14',
|
|
23
|
+
'5173_22': '/rank/1_5173_22',
|
|
24
|
+
'5173_31': '/rank/1_5173_31',
|
|
24
25
|
};
|
|
25
26
|
|
|
26
27
|
export const platform = 'qidian';
|
|
27
28
|
export const label = '起点';
|
|
28
29
|
|
|
29
30
|
export const rankList = [
|
|
30
|
-
{ id: '
|
|
31
|
-
{ id: '
|
|
32
|
-
{ id: '
|
|
33
|
-
{ id: '
|
|
34
|
-
{ id: '
|
|
31
|
+
{ id: '5173_2', label: '畅销榜', channel: '1', type: '5173_2' },
|
|
32
|
+
{ id: '5173_7', label: '月票榜', channel: '1', type: '5173_7' },
|
|
33
|
+
{ id: '5173_14', label: '签约作者新书榜', channel: '1', type: '5173_14' },
|
|
34
|
+
{ id: '5173_22', label: '公众作者新书榜', channel: '1', type: '5173_22' },
|
|
35
|
+
{ id: '5173_31', label: '新人作者新书榜', channel: '1', type: '5173_31' },
|
|
35
36
|
];
|
|
36
37
|
|
|
37
38
|
const HEADERS = {
|