diff --git a/torrents.tvmaze.user.js b/torrents.tvmaze.user.js
index 8bb1fd8..01da8be 100644
--- a/torrents.tvmaze.user.js
+++ b/torrents.tvmaze.user.js
@@ -11,7 +11,7 @@
// @supportURL https://github.com/vBm/snippets/issues
// @match http://www.tvmaze.com/shows/*
// @match https://www.tvmaze.com/shows/*
-// @version 0.8.0
+// @version 0.9.0
// @date 09/24/2022
// @grant none
// ==/UserScript==
@@ -35,8 +35,19 @@ async function getShows() {
).prepend(
$('')
)
+ ).append(
+ $('').attr({
+ class: 'torrent',
+ target: '_blank',
+ }).text(' TL ').click(
+ () => {
+ window.open(`https://www.torrentleech.org/torrents/browse/index/imdbID/${data.externals.imdb}/`);
+ }
+ ).prepend(
+ $('')
+ )
)
- );
+ );
$('.torrent').css({
display: 'inline-block',