mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-09-05 23:49:53 +08:00
2 lines
2.4 KiB
JavaScript
2 lines
2.4 KiB
JavaScript
import{_ as e,c as a,o as t,a3 as s}from"./chunks/framework.Bsyxd66g.js";const o="/assets/season.DhuB2-D3.webp",c="/assets/series.BaQswuih.webp",f=JSON.parse('{"title":"获取合集/列表信息","description":"","frontmatter":{},"headers":[],"relativePath":"collection.md","filePath":"collection.md","lastUpdated":1778136465000}'),i={name:"collection.md"},n=s('<h1 id="获取合集-列表信息" tabindex="-1">获取合集/列表信息 <a class="header-anchor" href="#获取合集-列表信息" aria-label="Permalink to "获取合集/列表信息""></a></h1><p>视频合集和视频列表虽然在哔哩哔哩网站交互上行为类似,但在接口层级是两个不同的概念,程序配置中需要对两者做出区分。</p><p>目前 B 站绝大部分内容都是视频合集(Season),视频列表(Series)是古早的功能,现在已经不常见了。</p><h2 id="配置形式与区分方法" tabindex="-1">配置形式与区分方法 <a class="header-anchor" href="#配置形式与区分方法" aria-label="Permalink to "配置形式与区分方法""></a></h2><p>新版本 b 站网页端已经对两种类型做了初步整合,将需要的参数展示在了视频合集/视频列表的 URL 中,不再需要手动查看接口。URL 的路径格式为:</p><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>/{mid}/lists/{id}?type={season/series}</span></span></code></pre></div><p>点开你想要订阅的视频合集/视频列表详情,对照查看 URL 即可获取所需参数。</p><h3 id="视频合集" tabindex="-1">视频合集 <a class="header-anchor" href="#视频合集" aria-label="Permalink to "视频合集""></a></h3><p><img src="'+o+'" alt="image"></p><p>类型为 <code>合集(Season)</code>,用户 ID 为 <code>521722088</code>,合集 ID 为 <code>1987140</code>。</p><h3 id="视频列表" tabindex="-1">视频列表 <a class="header-anchor" href="#视频列表" aria-label="Permalink to "视频列表""></a></h3><p><img src="'+c+'" alt="image"></p><p>类型为 <code>列表(Series)</code>,用户 ID 为 <code>521722088</code>,列表 ID 为 <code>387214</code>。</p>',13),d=[n];function r(l,p,h,_,m,u){return t(),a("div",null,d)}const g=e(i,[["render",r]]);export{f as __pageData,g as default};
|