Skip to content

Instantly share code, notes, and snippets.

@marcus-crane
Created April 1, 2025 04:59
Show Gist options
  • Save marcus-crane/54b5dbffa788da28ed47b0888698123a to your computer and use it in GitHub Desktop.
Save marcus-crane/54b5dbffa788da28ed47b0888698123a to your computer and use it in GitHub Desktop.
A small JS one-liner used to unmark Internet Archive MP4s in Transmission. Some archives will have original files and then secondary, generated files that include `.ia` in the name.
Array.from(document.querySelectorAll('.inspector-torrent-file-list-entry')).filter(e => e.children[1].textContent.includes('ia')).forEach(e => e.checkbox.click())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment