anyone know if there's a way to delete all liked videos on youtube at once? i found a quora thread with a bunch of answers none of which i could get working. so far i can only find a way to do one video at a time manually on youtube
Conversation
you could write a node.js script that does 3 things with youtube's API:
1. authorize
(developers.google.com/youtube/v3/gui)
2. query for all videos you liked
(developers.google.com/youtube/v3/doc)
3. in a "for" loop do POST unike requests for each
(developers.google.com/youtube/v3/doc)
2
3
i want someone else to do this for me lol. 3 answers on quora suggested commands to type into the console but none of them worked for me
1
1
this answer? browser's console? that's pretty clever
i wonder why it didn't work - they could've changed the html layout, so query strings are outdated
1
1
yeah browser console. the suggestions either generated error messages or i think in one case led to attempting to report each video instead of unlike it
1
1
try this way:
- updated items' query, made it more specific
1
1
not working sadly, here's the error message :/
1
1
Youβre unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
that's a bit weird. try refreshing the page and then pasting functions separately (say, from Justin's gist)
1. refresh the page -> open console
2. paste "sleep" -> press "enter"
3. paste "deleteLikedVideos" -> press "enter"
4. type deleteLikedVideos() -> press "enter"
2
2
ah this is probably relevant: whenever i open the console on that page now it spews out a ton of errors related to the other scripts i tried to run already, and idk how to stop those scripts π
closest button i can find pauses everything but doesn't kill?
nah, man) it doesn't work this way))
those errors are probably because you have some extension turned on - say, adblock or autoplay
every time you refresh a page and open a console - it's a fresh start, a new workspace, a "clean table"
2
1
the initial error, "deleteLikedVideos is not defined" was caused because the function wasn't, for some reason, in the scope of the opened console - not on the table
i suggested refreshing page and redefining functions one by one so that it's guaranteed to have it in the scope
1
1
Show replies

