2015-08-22 63 views
1

我曾嘗試使用vGet庫,但它返回以下錯誤:Java,如何從YouTube上下載視頻,vget替代?

Exception in thread "main" com.github.axet.wget.info.ex.DownloadRetry: no video with required quality found 
    at com.github.axet.vget.info.VGetParser.getVideo(VGetParser.java:38) 
    at com.github.axet.vget.info.YouTubeParser.extract(YouTubeParser.java:388) 
    at com.github.axet.vget.info.VGetParser.extract(VGetParser.java:15) 
    at com.github.axet.vget.info.VideoInfo.extract(VideoInfo.java:100) 
    at com.github.axet.vget.VGet.download(VGet.java:224) 
    at com.github.axet.vget.VGet.download(VGet.java:68) 
    at Test.main(Test.java:10) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:606) 
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) 

是否有任何其他庫或任何形式的解決方案存在從YouTube下載視頻?

+0

任何答案????? – gyurix

回答

1

YouTube一直在改變它的視頻管理方式,而vGet並沒有經常更新,所以這就是爲什麼vGet無法從YouTube上下載視頻的原因。