sealedtx / java-youtube-downloader

Simple, almost zero-dependency java parser for retrieving youtube video metadata
Other
413 stars 115 forks source link

Error: Invalid initial data json, YT Music Support ? #91

Open Shabinder opened 3 years ago

Shabinder commented 3 years ago

PlaylistID: RDAMVMkgJHhww8Ejc

CODE:

val ytDownloader = YoutubeDownloader()

val request = RequestPlaylistInfo("RDAMVMkgJHhww8Ejc")
val response = ytDownloader.getPlaylistInfo(request)

println(response.status())
println(response.error())

OUTPUT:

error
com.github.kiulian.downloader.YoutubeException$BadPageException: Invalid initial data json

image

Actually, this Playlist link is from Youtube Music and generally, most of the YT MUSIC content is also viewable on Youtube ... but as you can see some is not...

Can you try to include YT Music support too? If that's possible... :eyes:

sealedtx commented 3 years ago

@Shabinder it might be possible, i will look