CLI commands reference.
Ref
bash.
Scripts
Generate a list of all URLs ending with mkv|flac|mp4|srt
Language: JavaScript
const links = Array.from(document.querySelectorAll('a'))
.map(link => link.href)
.filter(href => href.match(/\.(mkv|flac|mp4|srt)(\?.*)?$/i))
.join('\n');
const blob = new Blob([links], { type: 'text/plain' });
const a = document.createElement('a');
a.href = URL.createObjectURL(blob);
a.download = 'media_links.txt';
a.click();