Mika- / torrent-control

Firefox extension for adding torrents to remote clients.
https://addons.mozilla.org/addon/torrent-control/
179 stars 25 forks source link

add rutracker.org and kinozal.tv private tracker torrent download url to witelist #111

Closed sun1ight closed 3 years ago

sun1ight commented 3 years ago

In util.js

download torrent url example: https://rutracker.org/forum/dl.php?t=6012033 Tested tegexp: const whitelist = [ /\/dl\.php\?t=\d+/, //rutracker ];

download torrent url example: http://dl.kinozal.tv/download.php?id=1560368 Untested tegexp, but should work: const whitelist = [ /\/download\.php\?id=\d+/, // kinozal ];

Mika- commented 3 years ago

Newest version now has support for user defined regular expressions.