Closed sun1ight closed 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 ];
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 ];
const whitelist = [ /\/download\.php\?id=\d+/, // kinozal ];
Newest version now has support for user defined regular expressions.
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 ];