XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/bilibili-API-collect

fix: 修复装扮/收藏集搜索API示例数据错误

7a60bba
Light_Quanta <ZCH22248@foxmail.com>
提交于

代码差异

1 个文件 +457 -3
Modified docs/garb/lottery.md +457 -3
@@ -137,7 +137,7 @@
137 137
138 138 **示例:**
139 139
140 搜索关键词为 `2233`, 然而没有结果:
140 搜索关键词为 `2233`:
141 141
142 142 ```shell
143 143 curl -G 'https://api.bilibili.com/x/garb/v2/mall/home/search' \
@@ -154,10 +154,464 @@ curl -G 'https://api.bilibili.com/x/garb/v2/mall/home/search' \
154 154 "message": "0",
155 155 "ttl": 1,
156 156 "data": {
157 "list": null,
157 "list": [
158 {
159 "item_id": 0,
160 "name": "2024拜年纪-2233拜年画册",
161 "group_id": 70,
162 "group_name": "2024拜年纪-2233拜年画册",
163 "part_id": 0,
164 "state": "active",
165 "properties": {
166 "book_amount": "1395313",
167 "dlc_act_id": "279",
168 "dlc_act_status": "2",
169 "dlc_is_free": "0",
170 "dlc_lottery_id": "256",
171 "dlc_lottery_sale_quantity": "313028",
172 "dlc_lottery_type": "1",
173 "dlc_sale_end_time": "2114406245",
174 "dlc_sale_mode": "1",
175 "dlc_sale_start_time": "1707458400",
176 "dlc_surplus_stock": "0",
177 "image_cover": "http://i0.hdslb.com/bfs/archive/f96a8cf6866ccef8f54de4773acf0cb07b915ac6.png",
178 "sale_bp_forever_raw": "990",
179 "type": "dlc_act"
180 },
181 "current_activity": null,
182 "next_activity": {
183 "type": "first_draw_discount",
184 "time_limit": false,
185 "time_left": -1728418723,
186 "tag": "大会员首抽",
187 "price_bp_month": 490,
188 "price_bp_forever": 490,
189 "type_month": "",
190 "tag_month": "",
191 "time_limit_month": false,
192 "time_left_month": 0
193 },
194 "current_sources": null,
195 "finish_sources": null,
196 "sale_left_time": -1728418723,
197 "sale_time_end": -1728418723,
198 "sale_surplus": 0,
199 "sale_count_desc": "31万+",
200 "total_count_desc": "已售31万+份",
201 "tag": "",
202 "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=279\u0026hybrid_set_header=2\u0026lottery_id=256",
203 "sales_mode": 0
204 },
205 {
206 "item_id": 0,
207 "name": "2024 BML\u0026BW 2233收藏集-2233福利卡池",
208 "group_id": 70,
209 "group_name": "2024 BML\u0026BW 2233收藏集-2233福利卡池",
210 "part_id": 0,
211 "state": "active",
212 "properties": {
213 "book_amount": "4376",
214 "dlc_act_id": "102962",
215 "dlc_act_status": "2",
216 "dlc_is_free": "1",
217 "dlc_lottery_id": "102966",
218 "dlc_lottery_sale_quantity": "2677",
219 "dlc_lottery_type": "2",
220 "dlc_sale_end_time": "1729828800",
221 "dlc_sale_mode": "2",
222 "dlc_sale_start_time": "1721876400",
223 "dlc_surplus_stock": "0",
224 "image_cover": "https://i0.hdslb.com/bfs/garb/4a374316b1e9a07cffeccbdeff585c472dcdcc26.png",
225 "sale_bp_forever_raw": "0",
226 "type": "dlc_act"
227 },
228 "current_activity": null,
229 "next_activity": null,
230 "current_sources": null,
231 "finish_sources": null,
232 "sale_left_time": -1728418723,
233 "sale_time_end": -1728418723,
234 "sale_surplus": 0,
235 "sale_count_desc": "2千+",
236 "total_count_desc": "已发放2千+份",
237 "tag": "限时DLC",
238 "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=102962\u0026hybrid_set_header=2\u0026lottery_id=102966",
239 "sales_mode": 0
240 },
241 {
242 "item_id": 0,
243 "name": "2233·幻境序曲-长夜",
244 "group_id": 70,
245 "group_name": "2233·幻境序曲-长夜",
246 "part_id": 0,
247 "state": "active",
248 "properties": {
249 "book_amount": "228065",
250 "dlc_act_id": "102161",
251 "dlc_act_status": "2",
252 "dlc_is_free": "0",
253 "dlc_lottery_id": "103087",
254 "dlc_lottery_sale_quantity": "71200",
255 "dlc_lottery_type": "2",
256 "dlc_sale_end_time": "2114406245",
257 "dlc_sale_mode": "1",
258 "dlc_sale_start_time": "1722139200",
259 "dlc_surplus_stock": "0",
260 "image_cover": "https://i0.hdslb.com/bfs/garb/f7e4f434ba6b93434b9e60df3c57a07552af4ca1.png",
261 "sale_bp_forever_raw": "990",
262 "type": "dlc_act"
263 },
264 "current_activity": null,
265 "next_activity": {
266 "type": "first_draw_discount",
267 "time_limit": false,
268 "time_left": -1728418723,
269 "tag": "大会员首抽",
270 "price_bp_month": 490,
271 "price_bp_forever": 490,
272 "type_month": "",
273 "tag_month": "",
274 "time_limit_month": false,
275 "time_left_month": 0
276 },
277 "current_sources": null,
278 "finish_sources": null,
279 "sale_left_time": -1728418723,
280 "sale_time_end": -1728418723,
281 "sale_surplus": 0,
282 "sale_count_desc": "7万+",
283 "total_count_desc": "已售7万+份",
284 "tag": "DLC池",
285 "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=102161\u0026hybrid_set_header=2\u0026lottery_id=103087",
286 "sales_mode": 0
287 },
288 {
289 "item_id": 0,
290 "name": "2233·群星闪耀时-双子座",
291 "group_id": 70,
292 "group_name": "2233·群星闪耀时-双子座",
293 "part_id": 0,
294 "state": "active",
295 "properties": {
296 "book_amount": "1164544",
297 "dlc_act_id": "113",
298 "dlc_act_status": "2",
299 "dlc_is_free": "0",
300 "dlc_lottery_id": "16",
301 "dlc_lottery_sale_quantity": "572712",
302 "dlc_lottery_type": "1",
303 "dlc_sale_end_time": "2114406245",
304 "dlc_sale_mode": "1",
305 "dlc_sale_start_time": "1686196800",
306 "dlc_surplus_stock": "0",
307 "image_cover": "http://i0.hdslb.com/bfs/archive/ed35d12a3dce7764d6cb5b02cb4a459373472522.jpg",
308 "sale_bp_forever_raw": "990",
309 "type": "dlc_act"
310 },
311 "current_activity": null,
312 "next_activity": {
313 "type": "first_draw_discount",
314 "time_limit": false,
315 "time_left": -1728418723,
316 "tag": "大会员首抽",
317 "price_bp_month": 90,
318 "price_bp_forever": 90,
319 "type_month": "",
320 "tag_month": "",
321 "time_limit_month": false,
322 "time_left_month": 0
323 },
324 "current_sources": null,
325 "finish_sources": null,
326 "sale_left_time": -1728418723,
327 "sale_time_end": -1728418723,
328 "sale_surplus": 0,
329 "sale_count_desc": "57万+",
330 "total_count_desc": "已售57万+份",
331 "tag": "",
332 "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=113\u0026hybrid_set_header=2\u0026lottery_id=16",
333 "sales_mode": 0
334 },
335 {
336 "item_id": 39389,
337 "name": "2233人生百戏-花木兰",
338 "group_id": 70,
339 "group_name": "2233人生百戏-花木兰",
340 "part_id": 6,
341 "state": "active",
342 "properties": {
343 "desc": "为从军设妙计女扮男装,涉千山越万水亲赴戎机。2233人生百戏·花木兰装扮上线啦!本套装包括动态卡片、点赞动效和表情包,永久购买还能成为认证粉丝,领取粉丝专属装扮!",
344 "fan_desc": "人生百戏-花木兰",
345 "fan_id": "人生百戏-花木兰",
346 "fan_item_ids": "39335,39384,39353,39354",
347 "fan_mid": "35365327",
348 "fan_no_color": "#eb3d3e",
349 "fan_recommend_desc": "为从军设妙计女扮男装,涉千山越万水亲赴戎机。",
350 "fan_recommend_jump_type": "url",
351 "fan_recommend_jump_value": "https://space.bilibili.com/35365327?spm_id_from=333.337.0.0",
352 "fan_share_image": "https://i0.hdslb.com/bfs/garb/item/5ddd3f72ef2a938e9125851f488068012b841ad4.jpg",
353 "gray_rule": "true",
354 "gray_rule_type": "all",
355 "image_cover": "https://i0.hdslb.com/bfs/garb/item/e21ec12047bcd93e6afb8e52a68eb9835cd54a23.jpg",
356 "image_cover_color": "#d8b796",
357 "is_hide": "false",
358 "item_id_card": "39334",
359 "item_id_emoji": "39352",
360 "item_id_thumbup": "39336",
361 "open_platform_vip_discount": "true",
362 "owner_uid": "647193094",
363 "rank_investor_show": "false",
364 "realname_auth": "false",
365 "sale_bp_forever_raw": "5000",
366 "sale_bp_pm_raw": "800",
367 "sale_buy_num_limit": "100",
368 "sale_quantity": "20000",
369 "sale_quantity_limit": "true",
370 "sale_region_ip_limit": "全球",
371 "sale_reserve_switch": "false",
372 "sale_time_begin": "1666868400",
373 "sale_type": "pay",
374 "suit_card_type": "big_img",
375 "type": "ip"
376 },
377 "current_activity": null,
378 "next_activity": {
379 "type": "open_platform_vip_discount",
380 "time_limit": true,
381 "time_left": 417469277,
382 "tag": "大会员平台折扣",
383 "price_bp_month": 640,
384 "price_bp_forever": 4000,
385 "type_month": "open_platform_vip_discount",
386 "tag_month": "大会员平台折扣",
387 "time_limit_month": true,
388 "time_left_month": 417469277
389 },
390 "current_sources": null,
391 "finish_sources": null,
392 "sale_left_time": -61550323,
393 "sale_time_end": -1728418723,
394 "sale_surplus": 8650,
395 "sale_count_desc": "1万+",
396 "total_count_desc": "已售1万+份",
397 "tag": "",
398 "jump_link": "https://www.bilibili.com/h5/mall/suit/detail?navhide=1\u0026id=39389",
399 "sales_mode": 0
400 },
401 {
402 "item_id": 4259,
403 "name": "2233白色情人节",
404 "group_id": 70,
405 "group_name": "2233白色情人节",
406 "part_id": 6,
407 "state": "active",
408 "properties": {
409 "desc": "shot你的心——无论是谁都拥有爱的权利,快换上白色情人节专属装扮来遇见心里的那个ta吧!本套装包括头像挂件、动态卡片、点赞动效和表情包,永久购买还能成为认证粉丝,领取粉丝专属装扮!",
410 "fan_desc": "白色情人节",
411 "fan_id": "2233白色情人节",
412 "fan_item_ids": "4257,4230,4256,4255,4253,4254",
413 "fan_mid": "174501086",
414 "fan_no_color": "#f85574",
415 "fan_recommend_desc": "平淡日常中迎来浪漫的节日,象征爱情的丘比特们悄悄来到少女们身边,用爱之箭觉醒了懵懂悸动的心。新鲜的玫瑰,闪耀光泽的草莓,白色情人节这天为你准备不一样的惊喜。",
416 "fan_recommend_jump_type": "url",
417 "fan_recommend_jump_value": "https://b23.tv/54WVWS",
418 "fan_share_image": "https://i0.hdslb.com/bfs/garb/item/30e3f1b234dd33a2a5446dd7d05b31835ac74d4b.jpg",
419 "gray_rule": "true",
420 "gray_rule_type": "all",
421 "image_cover": "https://i0.hdslb.com/bfs/garb/item/a8d60a7d4f1f5a5de667b307736f701cb39c0741.jpg",
422 "image_cover_color": "#a3a8ec",
423 "image_cover_long": "https://i0.hdslb.com/bfs/garb/item/5ac3bb024d42ff0f26de07ce974351d62587c6ea.jpg",
424 "image_desc": "https://i0.hdslb.com/bfs/garb/item/cfe753a010d124a95fb311c372a5be69d82c8e13.jpg",
425 "is_hide": "false",
426 "item_id_card": "4231",
427 "item_id_emoji": "4252",
428 "item_id_pendant": "4229",
429 "item_id_thumbup": "4232",
430 "open_platform_vip_discount": "true",
431 "owner_uid": "647193094",
432 "rank_investor_show": "true",
433 "realname_auth": "false",
434 "sale_bp_forever_raw": "5900",
435 "sale_bp_pm_raw": "800",
436 "sale_buy_num_limit": "100",
437 "sale_quantity": "52000",
438 "sale_quantity_limit": "true",
439 "sale_region_ip_limit": "全球",
440 "sale_reserve_switch": "false",
441 "sale_time_begin": "1615694400",
442 "sale_type": "pay",
443 "suit_card_type": "big_img",
444 "type": "ip"
445 },
446 "current_activity": null,
447 "next_activity": {
448 "type": "open_platform_vip_discount",
449 "time_limit": true,
450 "time_left": 417469277,
451 "tag": "大会员平台折扣",
452 "price_bp_month": 640,
453 "price_bp_forever": 4720,
454 "type_month": "open_platform_vip_discount",
455 "tag_month": "大会员平台折扣",
456 "time_limit_month": true,
457 "time_left_month": 417469277
458 },
459 "current_sources": null,
460 "finish_sources": null,
461 "sale_left_time": -112724323,
462 "sale_time_end": -1728418723,
463 "sale_surplus": 0,
464 "sale_count_desc": "5万+",
465 "total_count_desc": "已售5万+份",
466 "tag": "粉丝套装已售罄",
467 "jump_link": "https://www.bilibili.com/h5/mall/suit/detail?navhide=1\u0026id=4259",
468 "sales_mode": 0
469 },
470 {
471 "item_id": 0,
472 "name": "2233·少女日记-蔚蓝幻想曲",
473 "group_id": 70,
474 "group_name": "2233·少女日记-蔚蓝幻想曲",
475 "part_id": 0,
476 "state": "active",
477 "properties": {
478 "book_amount": "100310",
479 "dlc_act_id": "103244",
480 "dlc_act_status": "2",
481 "dlc_is_free": "0",
482 "dlc_lottery_id": "103885",
483 "dlc_lottery_sale_quantity": "16563",
484 "dlc_lottery_type": "2",
485 "dlc_sale_end_time": "2114406245",
486 "dlc_sale_mode": "1",
487 "dlc_sale_start_time": "1727236800",
488 "dlc_surplus_stock": "0",
489 "image_cover": "http://i0.hdslb.com/bfs/archive/a04b3e9ef354493a0890a9197412f1c77e01ba0f.jpg",
490 "sale_bp_forever_raw": "990",
491 "type": "dlc_act"
492 },
493 "current_activity": null,
494 "next_activity": {
495 "type": "first_draw_discount",
496 "time_limit": false,
497 "time_left": -1728418723,
498 "tag": "大会员首抽",
499 "price_bp_month": 490,
500 "price_bp_forever": 490,
501 "type_month": "",
502 "tag_month": "",
503 "time_limit_month": false,
504 "time_left_month": 0
505 },
506 "current_sources": null,
507 "finish_sources": null,
508 "sale_left_time": -1728418723,
509 "sale_time_end": -1728418723,
510 "sale_surplus": 0,
511 "sale_count_desc": "1万+",
512 "total_count_desc": "已售1万+份",
513 "tag": "DLC池",
514 "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=103244\u0026hybrid_set_header=2\u0026lottery_id=103885",
515 "sales_mode": 0
516 },
517 {
518 "item_id": 0,
519 "name": "2233·少女日记-十四岁生日",
520 "group_id": 70,
521 "group_name": "2233·少女日记-十四岁生日",
522 "part_id": 0,
523 "state": "active",
524 "properties": {
525 "book_amount": "100310",
526 "dlc_act_id": "103244",
527 "dlc_act_status": "2",
528 "dlc_is_free": "0",
529 "dlc_lottery_id": "103247",
530 "dlc_lottery_sale_quantity": "83747",
531 "dlc_lottery_type": "1",
532 "dlc_sale_end_time": "2114406245",
533 "dlc_sale_mode": "1",
534 "dlc_sale_start_time": "1723780800",
535 "dlc_surplus_stock": "0",
536 "image_cover": "https://i0.hdslb.com/bfs/garb/9c338eb4841cad917665140cc08c7d14b5c7e0bf.png",
537 "sale_bp_forever_raw": "990",
538 "type": "dlc_act"
539 },
540 "current_activity": null,
541 "next_activity": {
542 "type": "first_draw_discount",
543 "time_limit": false,
544 "time_left": -1728418723,
545 "tag": "大会员首抽",
546 "price_bp_month": 490,
547 "price_bp_forever": 490,
548 "type_month": "",
549 "tag_month": "",
550 "time_limit_month": false,
551 "time_left_month": 0
552 },
553 "current_sources": null,
554 "finish_sources": null,
555 "sale_left_time": -1728418723,
556 "sale_time_end": -1728418723,
557 "sale_surplus": 0,
558 "sale_count_desc": "8万+",
559 "total_count_desc": "已售8万+份",
560 "tag": "",
561 "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=103244\u0026hybrid_set_header=2\u0026lottery_id=103247",
562 "sales_mode": 0
563 },
564 {
565 "item_id": 0,
566 "name": "2024 BML\u0026BW 2233收藏集-BML\u0026BW2024",
567 "group_id": 70,
568 "group_name": "2024 BML\u0026BW 2233收藏集-BML\u0026BW2024",
569 "part_id": 0,
570 "state": "active",
571 "properties": {
572 "book_amount": "4376",
573 "dlc_act_id": "102962",
574 "dlc_act_status": "2",
575 "dlc_is_free": "0",
576 "dlc_lottery_id": "102963",
577 "dlc_lottery_sale_quantity": "1699",
578 "dlc_lottery_type": "1",
579 "dlc_sale_end_time": "2114406245",
580 "dlc_sale_mode": "1",
581 "dlc_sale_start_time": "1721876400",
582 "dlc_surplus_stock": "0",
583 "image_cover": "https://i0.hdslb.com/bfs/garb/6c2d68faf143c33b484b110e2221ab15a0a1f85c.png",
584 "sale_bp_forever_raw": "990",
585 "type": "dlc_act"
586 },
587 "current_activity": null,
588 "next_activity": {
589 "type": "first_draw_discount",
590 "time_limit": false,
591 "time_left": -1728418723,
592 "tag": "大会员首抽",
593 "price_bp_month": 490,
594 "price_bp_forever": 490,
595 "type_month": "",
596 "tag_month": "",
597 "time_limit_month": false,
598 "time_left_month": 0
599 },
600 "current_sources": null,
601 "finish_sources": null,
602 "sale_left_time": -1728418723,
603 "sale_time_end": -1728418723,
604 "sale_surplus": 0,
605 "sale_count_desc": "1千+",
606 "total_count_desc": "已售1千+份",
607 "tag": "",
608 "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live\u0026act_id=102962\u0026hybrid_set_header=2\u0026lottery_id=102963",
609 "sales_mode": 0
610 }
611 ],
158 612 "pn": 1,
159 613 "ps": 20,
160 "total": 0
614 "total": 187
161 615 }
162 616 }
163 617 ```