Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Download all Comments from Youtube R

$
0
0

I am trying to download all YouTube comments using the vosonSML package. To be more precise, I try to do it for one video. In Total there are about 600 top-level comments. I want to download all the comments including the replies.However the syntax or api I use is limited. So my question is: Is it possible to modify the following code so that it iterates through the comments and downloads all of them.

library(vosonSML)library(dplyr)# Authyoutube_auth <- Authenticate("youtube", apiKey = "XXX")# helper to create a list of youtube video ids from urlsyoutube_video_ids <- GetYoutubeVideoIDs("https://www.youtube.com/XXX")# Extraction of data youtube_data <- youtube_auth %>%  Collect(videoIDs = youtube_video_ids,           maxComments = 500,          verbose = FALSE)str(youtube_data)

Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>