File size: 3,524 Bytes
0aee47a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
  "info": {
    "detail": {
      "url": "https://manga.bilibili.com/twirp/comic.v1.Comic/ComicDetail?device=pc&platform=web",
      "method": "POST",
      "verify": false,
      "params": {
        "comic_id": "int: 漫画 id"
      },
      "comment": "获取漫画详情信息"
    },
    "episode_info": {
      "url": "https://manga.bilibili.com/twirp/comic.v1.Comic/GetEpisode?device=pc&platform=web",
      "method": "POST",
      "verify": false,
      "params": {
        "id": "int: 章节 id"
      },
      "comment": "获取漫画某一章节/某一话的信息。"
    },
    "episode_images": {
      "url": "https://manga.bilibili.com/twirp/comic.v1.Comic/GetImageIndex?device=pc&platform=web",
      "method": "POST",
      "verify": false,
      "params": {
        "ep_id": "int: 章节 id"
      },
      "comment": "获取漫画某一章节/某一话的图片的链接。"
    },
    "image_token": {
      "url": "https://manga.bilibili.com/twirp/comic.v1.Comic/ImageToken?device=pc&platform=web",
      "method": "POST",
      "verify": false,
      "params": {
        "urls": "str: 内容如下:[\"图片链接\"]"
      },
      "comment": "获取漫画单张图片的 token"
    },
    "index": {
      "url": "https://manga.bilibili.com/twirp/comic.v1.Comic/ClassPage",
      "method": "POST",
      "verify": true,
      "params": {
        "device": "str: 设备",
        "platform": "str: 平台"
      },
      "data": {
        "area_id": "int: 地区 id",
        "style_id": "int: 风格 id",
        "is_finish": "int: 是否完结",
        "order": "int: 排序方式",
        "page_num": "int: 页码",
        "page_size": "int: 每页数量",
        "is_free": "int: 是否免费"
      },
      "comment": "获取漫画索引"
    },
    "index_params": {
      "url": "https://manga.bilibili.com/twirp/comic.v1.Comic/AllLabel?device=pc&platform=web",
      "method": "POST",
      "verify": true,
      "comment": "获取漫画索引的参数"
    },
    "update": {
      "url": "https://manga.bilibili.com/twirp/comic.v1.Comic/GetDailyPush",
      "method": "POST",
      "verify": true,
      "params": {
        "device": "str: 设备",
        "platform": "str: 平台"
      },
      "data": {
        "date": "str: 日期,格式为 YYYY-MM-DD",
        "page_num": "int: 页码",
        "page_size": "int: 每页数量"
      },
      "comment": "获取漫画更新推荐"
    },
    "home_recommend": {
      "url": "https://manga.bilibili.com/twirp/comic.v1.Comic/HomeRecommend",
      "method": "POST",
      "verify": true,
      "params": {
        "device": "str: 设备",
        "platform": "str: 平台"
      },
      "data": {
        "seed": "str: unknown param",
        "page_num": "int: 页码"
      },
      "comment": "获取漫画首页推荐"
    }
  },
  "operate": {
    "add_favorite": {
      "url": "https://manga.bilibili.com/twirp/bookshelf.v1.Bookshelf/AddFavorite?device=pc&platform=web",
      "method": "POST",
      "verify": true,
      "params": {
        "comic_ids": "int: 漫画 id"
      },
      "comment": "追漫"
    },
    "del_favorite": {
      "url": "https://manga.bilibili.com/twirp/bookshelf.v1.Bookshelf/DeleteFavorite?device=pc&platform=web",
      "method": "POST",
      "verify": true,
      "params": {
        "comic_ids": "int: 漫画 id"
      },
      "comment": "取消追漫"
    }
  }
}