Skip to content
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

I want to add videos from earlier? #101

Closed
komaedalove opened this issue Oct 8, 2021 · 6 comments
Closed

I want to add videos from earlier? #101

komaedalove opened this issue Oct 8, 2021 · 6 comments

Comments

@komaedalove
Copy link

I want to add videos from every day in the last week, I tried changing the timestamp from "2021-10-07T18:13:49+02:00" to "2021-10-06T18:13:49+02:00" but it gave me this error
"Error: 2 video(s) were not added to playlists correctly, please check Debug sheet. Timestamps for respective rows has not been updated."

@victorjzsun
Copy link
Collaborator

Can you look at the debug sheet and tell me what you see?

@komaedalove
Copy link
Author

ok sorry I deleted that sheet and copied a new one, I thought maybe it broke so I don't have that debug but I have a new problem
I can't add older videos.. When I thought maybe I could first add 10-07, then 10-06 etc but it adds the videos between that date and the current date.. so when I did 10-07 it worked OK because 07 and 08 were less than 200, but when I did 10-06 it didn't because there were over 200 videos across 06, 07 and 08, even though some of them were in the playlist already so didn't need to be added. How can I fix this?

@victorjzsun
Copy link
Collaborator

We don’t really support going back in time because it adds all vids up to current datetime and if it’s more than 200, you’ll hit YT’s API quota for the day.

I can create a separate version that only pulls one day of videos at a time, if that’s good enough for you, although you’ll still want to be careful about hitting that 200 vid limit across all runs in a day.

@komaedalove
Copy link
Author

That would be great, thank you so much!

@victorjzsun
Copy link
Collaborator

victorjzsun commented Oct 9, 2021

I made the new version at https://github.com/Elijas/auto-youtube-subscription-playlist-2/blob/1-day-update/sheetScript.gs, copy the script into Tools -> Script Editor and you can then run it normally. Let me know if you run into any issues.

P.S. The debug sheet was actually broken, must've accidentally deleted the function call; try copying the new sheet into your spreadsheet if you want the new version.

@komaedalove
Copy link
Author

It worked perfectly ! Thank you so much :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants