mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
private video?
This commit is contained in:
parent
165ed8a6e0
commit
2fb3d05055
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ import DiskCache from "./diskCache";
|
|||
|
||||
const privateResponse = (videoId: string): innerTubeVideoDetails => ({
|
||||
videoId,
|
||||
title: "",
|
||||
title: "Private video?",
|
||||
channelId: "",
|
||||
// exclude video duration
|
||||
isOwnerViewing: false,
|
||||
|
@ -27,7 +27,7 @@ const privateResponse = (videoId: string): innerTubeVideoDetails => ({
|
|||
publishDate: ""
|
||||
});
|
||||
|
||||
async function getFromITube (videoID: string): Promise<innerTubeVideoDetails> {
|
||||
export async function getFromITube (videoID: string): Promise<innerTubeVideoDetails> {
|
||||
// start subrequest
|
||||
const url = "https://www.youtube.com/youtubei/v1/player";
|
||||
const data = {
|
||||
|
|
Loading…
Reference in a new issue