-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error in list_channel_videos function #88
Comments
I tried the way you suggested, but there's a limitation. yt_search's max results only takes the value between 0 to 50, but I want to bring all video stats in individual channels. |
I am sorry for having broken the discussion's history. When I realized shortly after posting that my and your, @sujinz, problem actually belong to different functions ( To at least add the missing core information: I had suggested to you, @sujinz, to consider Have you tried |
thanks for your sincere responses! with yt_search function, I think it's not easy to find exact info that I want, but I will try it :) @Sasyriston |
@sujinz It seems the code changes of pull request #84 indirectly fixes your issue, because |
Is there a fix yet to the |
I tried to get video stats using this code, and it worked until May 3rd.
But, it does not work for now.
for(i in 1:length(chID)) ##chID=lists of channel IDs
{
chName <- sub$channelName[i]
vl <- list_channel_videos(as.character(chID[i]), max_results = 50000) # {tuber}
tmp <- cbind(chName, vl)
videoList.for <- rbind(videoList.for, tmp) # 26 channels
print(paste(i, "channel"))
}
videoList <- videoList.for
names(videoList)
In the past, it appeared like this,
[1] "chName" ".id" "kind" "etag"
[5] "id" "contentDetails.videoId" "kst"
But for now,
"chName" ".id" "X[[i]]"
in ".id " I can only see pageInfo.totalResults and pageInfo.resultsPerPage,
Is there any alternative codes to extract video ids and stats?
The text was updated successfully, but these errors were encountered: