Small Patch for long streams

This commit is contained in:
killer069
2021-09-01 11:11:30 +05:30
parent 283eabd3c9
commit bca50b2395
5 changed files with 12 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ export async function video_basic_info(url : string){
let html5player = 'https://www.youtube.com' + body.split('"jsUrl":"')[1].split('"')[0]
let format = []
let vid = player_response.videoDetails
console.log(vid.thumbnail.thumbnails)
let microformat = player_response.microformat.playerMicroformatRenderer
let video_details = {
id : vid.videoId,