Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pat-richter/387b927e9ff44294dc2d3dcda0948e5f to your computer and use it in GitHub Desktop.
Save pat-richter/387b927e9ff44294dc2d3dcda0948e5f to your computer and use it in GitHub Desktop.
### JavaScript to be executed on mediathekviewweb.de via DevTools
### Copies all high resolution links to your clipboard
copy([...document.querySelectorAll('.movie-icon')].map((a) => {
let seriesTitle = a.closest('tr').querySelector("td:nth-child(2)").innerText;
let episodeTitle = a.closest('tr').querySelector("td:nth-child(3)").innerText;
let fileName = seriesTitle + ' - ' + episodeTitle;
return '<a '+
'href="' + a.parentElement.href + '#filename=' + fileName +'" ' +
'>'+fileName+'</a>'
}));
### You then need to adjust the packagizer settings in JDownloader
### or import https://github.com/mgpai/resources/blob/master/jdownloader/packagizer/rules/thekalinga.packagizer
### see here for more information https://board.jdownloader.org/showthread.php?t=79010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment