Merge pull request #185 from play-dl/developer

TSC Errors fixed
This commit is contained in:
Killer069 2021-12-07 10:58:37 +05:30 committed by GitHub
commit 66f2eb9c8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,6 @@ export async function video_stream_info(url: string, options: InfoOptions = {}):
const video_id: string = extractID(url);
const new_url = `https://www.youtube.com/watch?v=${video_id}&has_verified=1`;
body = await request(new_url, {
proxies: options.proxy ?? [],
headers: { 'accept-language': 'en-US,en;q=0.9' },
cookies: true
});