mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-28 09:28:29 +00:00
Update api/src/processing/services/bilibili.js
This commit is contained in:
parent
3204b82dfd
commit
6af81b0266
@ -86,7 +86,7 @@ async function tv_download(id) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export default async function ({ comId, tvId, comShortLink, episode }) {
|
export default async function({ comId, tvId, comShortLink, episode }) {
|
||||||
if (comShortLink) {
|
if (comShortLink) {
|
||||||
const patternMatch = await resolveRedirectingURL(`https://b23.tv/${comShortLink}`);
|
const patternMatch = await resolveRedirectingURL(`https://b23.tv/${comShortLink}`);
|
||||||
comId = patternMatch?.comId;
|
comId = patternMatch?.comId;
|
||||||
|
Loading…
Reference in New Issue
Block a user