SocialSisterYi / bilibili-API-collect

哔哩哔哩-API收集整理【不断更新中....】
https://socialsisteryi.github.io/bilibili-API-collect/
Other
15.41k stars 1.74k forks source link

收藏集API #905

Open lovegaoshi opened 11 months ago

lovegaoshi commented 11 months ago

有没有朋友研究过收藏集兑换的API? 我搜集到的:

全部列表: https://api.bilibili.com/x/garb/card/subject/list?subject_id=42 基础信息: https://api.bilibili.com/x/vas/dlc_act/act/basic?act_id={藏品id} 详细信息: https://api.bilibili.com/x/vas/dlc_act/act/item/list?act_id={藏品id}

想知道收藏集兑换是怎么搞的,如这俩玩意儿 https://github.com/lovegaoshi/biliNFT/blob/main/data/BILINFT_100531.json

              {
                  "collect_id": 100545,
                  "start_time": 1702641600,
                  "end_time": 2114406245,
                  "redeem_text": "完成4抽即可领取,单UID仅可领取一次。",
                  "redeem_item_type": 5,
                  "redeem_item_id": "1701673982001&1701667491001&1701671983001&1701667533001",
                  "redeem_item_name": "纯情序曲专属装扮",
                  "redeem_item_image": "https://i0.hdslb.com/bfs/garb/be88472ca9bea07e63f1a443b4c22867105bae2f.png",
                  "owned_item_amount": 0,
                  "require_item_amount": 4,
                  "has_redeemed_cnt": 0,
                  "effective_forever": 1,
                  "redeem_item_image_download": "",
                  "card_item": {
                      "card_type_info": null,
                      "play": null,
                      "tag": null
                  },
                  "jump_url": "",
                  "redeem_cond_type": "lottery_num",
                  "remain_stock": -1,
                  "total_stock": -1
              },
              {
                  "collect_id": 100544,
                  "start_time": 1702641600,
                  "end_time": 2114406245,
                  "redeem_text": "完成2抽即可领取,单UID仅可领取一次。",
                  "redeem_item_type": 2,
                  "redeem_item_id": "1701673155001",
                  "redeem_item_name": "纯情序曲表情包",
                  "redeem_item_image": "https://i0.hdslb.com/bfs/garb/a0561a520b9a906b1793cf1eed8a4a8372b4c570.png",
                  "owned_item_amount": 0,
                  "require_item_amount": 2,
                  "has_redeemed_cnt": 0,
                  "effective_forever": 1,
                  "redeem_item_image_download": "",
                  "card_item": {
                      "card_type_info": null,
                      "play": null,
                      "tag": null
                  },
                  "jump_url": "",
                  "redeem_cond_type": "lottery_num",
                  "remain_stock": -1,
                  "total_stock": -1
              },
lovegaoshi commented 11 months ago

纯情序曲表情包: redeem_item_id === meta.item_id => https://api.bilibili.com/x/emote/package?business=reply&ids=4013

{
                "id": 4013,
                "text": "纯情序曲表情包",
                "url": "https://i0.hdslb.com/bfs/garb/837dbe76fc977c8c22c8f0061c88b96a1dda6734.png",
                "mtime": 1702641780,
                "type": 3,
                "attr": 28,
                "meta": {
                    "size": 2,
                    "item_id": 1701673155001
                },
                "emote": [...
                ],
                "flags": {
                    "no_access": true
                },
                "label": null,
                "package_sub_title": "",
                "ref_mid": 0
            }
lovegaoshi commented 11 months ago

装扮找得到但是id隐藏

            {
                "item_id": 0,
                "name": "杠杠收藏集-纯情序曲",
                "group_id": 47,
                "group_name": "杠杠收藏集-纯情序曲",
                "part_id": 0,
                "state": "active",
                "properties": {
                    "book_amount": "838",
                    "dlc_act_id": "100531",
                    "dlc_act_status": "1",
                    "dlc_is_free": "0",
                    "dlc_lottery_id": "100532",
                    "dlc_lottery_sale_quantity": "0",
                    "dlc_lottery_type": "1",
                    "dlc_sale_end_time": "2114406245",
                    "dlc_sale_mode": "1",
                    "dlc_sale_start_time": "1702728000",
                    "dlc_surplus_stock": "0",
                    "image_cover": "https://i0.hdslb.com/bfs/garb/cb0459de8e258fa2bdc4301d2aa0cb1d073fbac5.png",
                    "sale_bp_forever_raw": "990",
                    "type": "dlc_act"
                },
                "current_activity": null,
                "next_activity": {
                    "type": "first_draw_discount",
                    "time_limit": false,
                    "time_left": -1702670731,
                    "tag": "大会员首抽",
                    "price_bp_month": 490,
                    "price_bp_forever": 490,
                    "type_month": "",
                    "tag_month": "",
                    "time_limit_month": false,
                    "time_left_month": 0
                },
                "current_sources": null,
                "finish_sources": null,
                "sale_left_time": -1702670731,
                "sale_time_end": -1702670731,
                "sale_surplus": 0,
                "sale_count_desc": "0",
                "total_count_desc": "",
                "tag": "预约中",
                "jump_link": "https://www.bilibili.com/h5/mall/digital-card/home?-Abrowser=live&act_id=100531&hybrid_set_header=2&lottery_id=100532",
                "sales_mode": 0
            },
lovegaoshi commented 7 months ago

看到有朋友做了装扮/收藏素材提取,但是不晓得用的什么API https://github.com/sjh8130/BilibiliSuitCollection

另外获取全部收藏的API不全,比如蛙吹的收藏就么的 新抓的API如下: https://api.bilibili.com/x/vas/dlc_act/act/list?&scene=1&site=20 一页20,下一页需要改site=

以及全部装扮: https://api.bilibili.com/x/garb/v2/mall/partition/item/list?part_id=6&pn=1&sort_type=2 同样一页20,下一页pn=

z0z0r4 commented 7 months ago

收藏集指的是手机端的表情包那些?

lovegaoshi commented 7 months ago

就这种 https://www.bilibili.com/blackboard/activity-8SFcJNtnKk.html