gojiplus / tuber

:sweet_potato: Access YouTube from R
http://gojiplus.github.io/tuber
Other
184 stars 55 forks source link

HTTP failure 400 in get_captions #19

Closed nitingupta2 closed 7 years ago

nitingupta2 commented 7 years ago

Hi, Tried tuber for the first time today. Got it working for the most part, but getting a malformed HTTP error for a video whose captions I'm trying to download. Any help / suggestion is greatly appreciated. Thanks!

get_captions(video_id = "uDGLM0FmueI")

Error: HTTP failure: 400

list_caption_tracks(video_id = "uDGLM0FmueI")

  videoId              lastUpdated trackKind language                name audioTrackType  isCC isLarge isEasyReader

1 uDGLM0FmueI 2015-09-25T00:17:37.092Z standard en primary FALSE FALSE FALSE 2 uDGLM0FmueI 2015-09-24T21:29:49.455Z standard en 1443130189264766_V1 primary FALSE FALSE FALSE isDraft isAutoSynced status id 1 FALSE FALSE serving 7UvEkU_4--WRDZHuRUK3vT7rvPsECvnrqtaF1so4xHw= 2 TRUE FALSE serving TtVWqS2yHoGLGsBsK4oXUgpFeJg4sxyYT23qLsID7uR-iNlazm6kFlNRpz_s_ztX

soodoku commented 7 years ago

Thanks for flagging this. This has been on my list of to do. I will issue a patch right away for get_captions, but need to add a couple more functions to support the Youtube's complex pipeline. Stay tuned.