V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Puretoe
V2EX  ›  哔哩哔哩

求一个没有首页的 bilibili 的 APP

  •  
  •   Puretoe · 2021-06-18 02:04:14 +08:00 · 1776 次点击
    这是一个创建于 1283 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如题,怎么得到一个没有首页 dock 栏的哔哩哔哩 app

    4 条回复    2021-06-18 23:24:36 +08:00
    sky96111
        1
    sky96111  
       2021-06-18 07:43:30 +08:00 via Android
    Xposed 上帝模式
    tbxark
        2
    tbxark  
       2021-06-18 15:40:57 +08:00
    @sky96111 不用这么麻烦,bilibili 启动的时候会请求一个接口 https://app.bilibili.com/x/resource/show/tab, 只要把请求结果替换一下就可以了,用 surge 之类的网络工具返回一个固定的结果


    ```json
    {
    "code": 0,
    "config": {
    "no_login_avatar": "http://i0.hdslb.com/bfs/archive/689ed56f5b8b9bd26a90b20c52d464ebc0156185.png",
    "no_login_avatar_type": 0,
    "popup_style": 1
    },
    "data": {
    "tab": [
    {
    "id": 39,
    "name": "直播",
    "uri": "bilibili://live/home",
    "tab_id": "直播 tab",
    "pos": 1
    },
    {
    "id": 40,
    "name": "推荐",
    "uri": "bilibili://pegasus/promo",
    "tab_id": "推荐 tab",
    "pos": 2,
    "default_selected": 1
    },
    {
    "id": 41,
    "name": "热门",
    "uri": "bilibili://pegasus/hottopic",
    "tab_id": "热门 tab",
    "pos": 3
    },
    {
    "id": 42,
    "name": "追番",
    "uri": "bilibili://pgc/home",
    "tab_id": "追番 Tab",
    "pos": 4
    },
    {
    "id": 151,
    "name": "影视",
    "uri": "bilibili://pgc/cinema-tab",
    "tab_id": "影视 tab",
    "pos": 5
    },
    {
    "id": 136117,
    "name": "建党百年",
    "uri": "bilibili://following/home_activity_tab/136117",
    "tab_id": "165",
    "color": "#DD1225",
    "pos": 6
    }
    ],
    "top": [
    {
    "id": 222,
    "icon": "http://i0.hdslb.com/bfs/archive/734a3b610a953df398bbe6d787944514dcd94a46.png",
    "name": "游戏中心",
    "uri": "bilibili://game_center/home",
    "tab_id": "游戏中心 Top",
    "pos": 1,
    "red_dot": {
    "type": 2,
    "number": 1
    }
    },
    {
    "id": 176,
    "icon": "http://i0.hdslb.com/bfs/archive/d43047538e72c9ed8fd8e4e34415fbe3a4f632cb.png",
    "name": "消息",
    "uri": "bilibili://link/im_home",
    "tab_id": "消息 Top",
    "pos": 2
    }
    ],
    "bottom": [
    {
    "id": 177,
    "icon": "http://i0.hdslb.com/bfs/archive/63d7ee88d471786c1af45af86e8cb7f607edf91b.png",
    "icon_selected": "http://i0.hdslb.com/bfs/archive/e5106aa688dc729e7f0eafcbb80317feb54a43bd.png",
    "name": "首页",
    "uri": "bilibili://main/home/",
    "tab_id": "首页 Bottom",
    "pos": 1
    },
    {
    "id": 178,
    "icon": "http://i0.hdslb.com/bfs/archive/9c453a54eb83f5140cd098bf2e8ed8a599edc7fe.png",
    "icon_selected": "http://i0.hdslb.com/bfs/archive/79d29e6ac3b6e52652881b050e63988e2038130f.png",
    "name": "频道",
    "uri": "bilibili://pegasus/channel/",
    "tab_id": "频道 Bottom",
    "pos": 2
    },
    {
    "id": 179,
    "icon": "http://i0.hdslb.com/bfs/archive/86dfbe5fa32f11a8588b9ae0fccb77d3c27cedf6.png",
    "icon_selected": "http://i0.hdslb.com/bfs/archive/25b658e1f6b6da57eecba328556101dbdcb4b53f.png",
    "name": "动态",
    "uri": "bilibili://following/home/",
    "tab_id": "动态 Bottom",
    "pos": 3
    },
    {
    "id": 180,
    "icon": "http://i0.hdslb.com/bfs/archive/6090d5fa7ece2a94de839e7cce4f1e774dae7779.png",
    "icon_selected": "http://i0.hdslb.com/bfs/archive/eeaf83fb7157000776dd93f61702a049f56801d3.png",
    "name": "会员购",
    "uri": "bilibili://mall/home/",
    "tab_id": "会员购 Bottom",
    "pos": 4
    },
    {
    "id": 181,
    "icon": "http://i0.hdslb.com/bfs/archive/4b0b2c49ffeb4f0c2e6a4cceebeef0aab1c53fe1.png",
    "icon_selected": "http://i0.hdslb.com/bfs/archive/a54a8009116cb896e64ef14dcf50e5cade401e00.png",
    "name": "我的",
    "uri": "bilibili://user_center/",
    "tab_id": "我的 Bottom",
    "pos": 5
    }
    ]
    },
    "message": "0"
    }
    ```
    Puretoe
        3
    Puretoe  
    OP
       2021-06-18 16:15:06 +08:00 via Android
    @tbxark 非常感谢,这个可以在 ipad 上实践一下,没有 surge 有 shadowrocket 可以吗,以及不知道安卓上有什么可以用于实现的软件呢
    sky96111
        4
    sky96111  
       2021-06-18 23:24:36 +08:00 via Android
    @tbxark 这么说 Blibili 的 dock 栏是动态加载的?好奇怪哦
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1170 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 17:49 · PVG 01:49 · LAX 09:49 · JFK 12:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.