Skip to content

Instantly share code, notes, and snippets.

@mjarkk
Created November 7, 2025 12:16
Show Gist options
  • Select an option

  • Save mjarkk/673c1df7ef432290939338150de81865 to your computer and use it in GitHub Desktop.

Select an option

Save mjarkk/673c1df7ef432290939338150de81865 to your computer and use it in GitHub Desktop.
// On: https://github.com/qbittorrent/search-plugins/wiki/Unofficial-search-plugins
// Execute the following js code below to list all search plugins excluding porn sites
Array.from(document.querySelector('#wiki-wrapper table').querySelectorAll('tr')).
slice(1).
map(row => ({name: row.children[0].innerText?.trim(), link: row.children[4].querySelector('a')?.href})).
filter(row => row.name && row.link).
filter(({name}) => !['porn', 'xxx'].some(text => name.toLowerCase().includes(text)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment