TSC Errors fixed
This commit is contained in:
parent
d90f765998
commit
3148d16232
@ -223,7 +223,6 @@ export async function video_stream_info(url: string, options: InfoOptions = {}):
|
|||||||
const video_id: string = extractID(url);
|
const video_id: string = extractID(url);
|
||||||
const new_url = `https://www.youtube.com/watch?v=${video_id}&has_verified=1`;
|
const new_url = `https://www.youtube.com/watch?v=${video_id}&has_verified=1`;
|
||||||
body = await request(new_url, {
|
body = await request(new_url, {
|
||||||
proxies: options.proxy ?? [],
|
|
||||||
headers: { 'accept-language': 'en-US,en;q=0.9' },
|
headers: { 'accept-language': 'en-US,en;q=0.9' },
|
||||||
cookies: true
|
cookies: true
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user