Wrong Update

This commit is contained in:
killer069 2021-09-01 11:22:44 +05:30
parent bca50b2395
commit a15555d351
4 changed files with 4 additions and 11 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "play-dl",
"version": "0.7.4",
"version": "0.7.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "play-dl",
"version": "0.7.4",
"version": "0.7.5",
"license": "MIT",
"dependencies": {
"got": "^11.8.2"

View File

@ -1,6 +1,6 @@
{
"name": "play-dl",
"version": "0.7.4",
"version": "0.7.5",
"description": "YouTube, SoundCloud, Spotify streaming for discord.js bots",
"main": "dist/index.js",
"typings": "dist/index.d.ts",

View File

@ -37,7 +37,6 @@ 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,

View File

@ -1,7 +1 @@
export { playlist_info, video_basic_info, video_info, search, stream, stream_from_info, validate, validate_playlist } from "./YouTube";
import { video_basic_info } from '.'
(async() => {
let vid = await video_basic_info('https://www.youtube.com/watch?v=ALZHF5UqnU4')
})()