Skip to content

Instantly share code, notes, and snippets.

@alok-mishra
Last active July 20, 2024 20:04
Show Gist options
  • Save alok-mishra/405963a24599b16280f9a535da89133b to your computer and use it in GitHub Desktop.
Save alok-mishra/405963a24599b16280f9a535da89133b to your computer and use it in GitHub Desktop.
Remove all items from Trakt collection
// Removes all items from a page of the Trakt collection
// Run script from console of user's collection page
// Must be run on each page
$(".posters .grid-item").each(function() {
actionWatch($(this).closest('.grid-item'), 'collect', true)
})
@uggedal
Copy link

uggedal commented Jul 20, 2024

@Clndl Your version works perfectly with the new rate limiting. You can decrease the interval to 1500ms without hitting the limit though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment