Update extractor.ts

This commit is contained in:
Killer069 2021-12-28 08:12:19 +05:30 committed by GitHub
parent e4485f0ee3
commit 009358f5b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -546,7 +546,7 @@ async function acceptViewerDiscretion(
return { streamingData };
}
function getWatchPlaylit(response: any, body: any): YouTubePlayList {
function getWatchPlaylist(response: any, body: any): YouTubePlayList {
const playlist_details = response.contents.twoColumnWatchNextResults.playlist.playlist;
const videos = getWatchPlaylistVideos(playlist_details.contents);