fucking hell
This commit is contained in:
parent
11c7a7b47f
commit
7385448d45
|
@ -122,7 +122,10 @@ async function getPlaylistVideos(id) {
|
|||
'User-Agent': 'Mozilla/5.0 (compatible; PreserveTube/0.0; +https://preservetube.com)'
|
||||
}
|
||||
})).json()
|
||||
return json
|
||||
return {
|
||||
...json,
|
||||
relatedStreams: json.relatedStreams.slice(0, 5)
|
||||
}
|
||||
}
|
||||
|
||||
async function getVideoDownload(url, quality) {
|
||||
|
|
Loading…
Reference in New Issue